Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements and Fair Value of Financial Instruments - Schedule of Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation (Details)

v3.22.2.2
Fair Value Measurements and Fair Value of Financial Instruments - Schedule of Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation (Details) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Additional Share | Level 3    
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]    
Balance at December 31, 2021 $ 0  
Assumption 15,340  
Changes in fair value 970  
Settlement of Additional Shares liability (16,310)  
Balance at September 30, 2022 0  
Earn-Out Shares | Level 3    
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]    
Balance at December 31, 2021 0  
Assumption 70,481  
Changes in fair value (46,136)  
Balance at September 30, 2022 24,345  
Convertible preferred stock warrant liability    
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]    
Changes in fair value (1,600) $ 1,500
Convertible preferred stock warrant liability | Level 3    
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]    
Balance at December 31, 2021 4,787  
Changes in fair value (1,616)  
Net exercise of preferred stock warrants 989  
Balance at September 30, 2022 0  
Convertible preferred stock warrant liability | Level 3 | Previously Reported    
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]    
Balance at September 30, 2022 2,182  
Convertible preferred stock warrant liability | Level 3 | Revision of Prior Period, Adjustment    
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]    
Balance at September 30, 2022 $ 2,182