Annual report pursuant to Section 13 and 15(d)

Fair Value Measurements and Fair Value of Financial Instruments - Narrative (Details)

v3.22.4
Fair Value Measurements and Fair Value of Financial Instruments - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Level 3 | Structural Derivative Liability      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Fair Value, measurement with unobservable inputs reconciliation, recurring basis, liability, purchases $ 7,100    
Changes in fair value 0    
Level 3 | Structural Lenders | Structural Debt Facility | Structural Derivative Liability      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Fair Value, measurement with unobservable inputs reconciliation, recurring basis, liability, purchases 7,100    
Backstop Additional Shares | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Fair Value, measurement with unobservable inputs reconciliation, recurring basis, liability, purchases 15,340    
Changes in fair value (970)    
HGI Additional Shares | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Fair Value, measurement with unobservable inputs reconciliation, recurring basis, liability, purchases 800    
Changes in fair value 243    
Earn-Out Shares | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Fair Value, measurement with unobservable inputs reconciliation, recurring basis, liability, purchases 70,481    
Changes in fair value 66,359    
Convertible preferred stock warrant liability      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Changes in fair value 1,600 $ (1,200) $ (1,000)
Convertible preferred stock warrant liability | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Changes in fair value $ 1,616