Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurement - Schedule of fair value of assets and liabilities measured on a non-recurring basis (Details)

v3.21.2
Fair Value Measurement - Schedule of fair value of assets and liabilities measured on a non-recurring basis (Details) - USD ($)
$ in Thousands
Sep. 30, 2021
Dec. 31, 2020
Liabilities, Fair Value Disclosure [Abstract]    
Warrant liability—Forward Purchase Warrants $ 1,333 $ 0
Fair Value, Nonrecurring    
Assets, Fair Value Disclosure [Abstract]    
Cash and cash equivalents 104,980 18,098
Restricted cash 100 1,468
Total assets 105,080 19,566
Liabilities, Fair Value Disclosure [Abstract]    
Term loan 55,133 56,044
Finance lease obligations 98 430
VCIP/OBIP liability 238 286
Total liabilities 56,802 56,760
Fair Value, Recurring    
Liabilities, Fair Value Disclosure [Abstract]    
Warrant liability—Forward Purchase Warrants 1,333  
Level 1 | Fair Value, Nonrecurring    
Assets, Fair Value Disclosure [Abstract]    
Cash and cash equivalents 104,980 18,098
Restricted cash 100 1,468
Total assets 105,080 19,566
Liabilities, Fair Value Disclosure [Abstract]    
Term loan 0 0
Finance lease obligations 0 0
VCIP/OBIP liability 0 0
Total liabilities 0 0
Level 1 | Fair Value, Recurring    
Liabilities, Fair Value Disclosure [Abstract]    
Warrant liability—Forward Purchase Warrants 0  
Level 2 | Fair Value, Nonrecurring    
Assets, Fair Value Disclosure [Abstract]    
Cash and cash equivalents 0 0
Restricted cash 0 0
Total assets 0 0
Liabilities, Fair Value Disclosure [Abstract]    
Term loan 55,133 56,044
Finance lease obligations 98 430
VCIP/OBIP liability 238 0
Total liabilities 55,469 56,474
Level 2 | Fair Value, Recurring    
Liabilities, Fair Value Disclosure [Abstract]    
Warrant liability—Forward Purchase Warrants 0  
Level 3 | Fair Value, Nonrecurring    
Assets, Fair Value Disclosure [Abstract]    
Cash and cash equivalents 0 0
Restricted cash 0 0
Total assets 0 0
Liabilities, Fair Value Disclosure [Abstract]    
Term loan 0 0
Finance lease obligations 0 0
VCIP/OBIP liability 0 286
Total liabilities 1,333 $ 286
Level 3 | Fair Value, Recurring    
Liabilities, Fair Value Disclosure [Abstract]    
Warrant liability—Forward Purchase Warrants $ 1,333