Annual report pursuant to Section 13 and 15(d)

Basis of Presentation and Summary of Significant Accounting Policies - Fair Value, Contingent Liability (Details)

v3.22.0.1
Basis of Presentation and Summary of Significant Accounting Policies - Fair Value, Contingent Liability (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2020
USD ($)
Dec. 21, 2020
USD ($)
item
shares
Dec. 31, 2021
USD ($)
shares
Dec. 31, 2020
USD ($)
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Recognition of contingent earnout share liability   $ 248,900 $ 0 $ 248,878
Gain on fair value change of contingent earnout shares liability     (104,446) (115,375)
(Loss) gain on fair value change in private placement warrants liability $ 3,132   1,639 (3,132)
Conversion of private placement warrants to public warrants     (8,252) 0
Number of tranches for issuance | item   3    
HCAC        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Number of shares issued or issuable (in shares) | shares   166,155,697    
Earnout shares        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Liability 133,500   29,100 133,500
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Liabilities, beginning fair value     133,500  
Liabilities, ending fair value 133,500   $ 29,100 133,500
Earnout shares | HCAC        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Number of shares issued or issuable (in shares) | shares   15,000,000 15,000,000  
Earnout shares        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Liability 133,503   $ 29,057 133,503
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Liabilities, beginning fair value     133,503 0
Recognition of contingent earnout share liability     0 248,878
Gain on fair value change of contingent earnout shares liability     (104,446) (115,375)
Liabilities, ending fair value 133,503   29,057 133,503
Warrant        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Liability 6,613   0 6,613
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Liabilities, beginning fair value     6,613 9,745
(Loss) gain on fair value change in private placement warrants liability     1,639 (3,132)
Conversion of private placement warrants to public warrants     (8,252) 0
Liabilities, ending fair value 6,613   0 6,613
Recurring | Earnout shares        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Liability 133,503   29,057 133,503
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Liabilities, beginning fair value     133,503  
Liabilities, ending fair value 133,503   29,057 133,503
Recurring | Warrant        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Liability 6,613     6,613
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Liabilities, beginning fair value     6,613  
Liabilities, ending fair value 6,613     6,613
Recurring | Money Market Funds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Assets 702,422   227,492 702,422
Recurring | Level 1 | Money Market Funds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Assets 702,422   227,492 702,422
Recurring | Level 2 | Warrant        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Liability 6,613     6,613
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Liabilities, beginning fair value     6,613  
Liabilities, ending fair value 6,613     6,613
Recurring | Level 3 | Earnout shares        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Liability 133,503   29,057 133,503
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Liabilities, beginning fair value     133,503  
Liabilities, ending fair value $ 133,503   $ 29,057 $ 133,503