Annual report pursuant to Section 13 and 15(d)

Fair Value Measurements - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis (Details)

v3.22.1
Fair Value Measurements - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Assets measured at fair value    
Available-for-sale investments $ 343,249 $ 368,587
Term Deposits [Member]    
Assets measured at fair value    
Available-for-sale investments 40,069  
Asset Backed Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 69,496 52,022
Government Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 47,308 57,829
Corporate Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 186,376 258,736
Fair Value Measurements Recurring [Member]    
Assets measured at fair value    
Available-for-sale investments 343,249 368,587
Total fair value of assets 1,273,091 442,636
Liabilities measured at fair value    
Derivative liability (Earnout Shares) 109,844  
Total fair value of liabilities 154,746  
Fair Value Measurements Recurring [Member] | Common Stock Warrant Liabilities Public [Member]    
Liabilities measured at fair value    
Common stock warrant liabilities (Public) 26,910  
Fair Value Measurements Recurring [Member] | Common Stock Warrant Liabilities Private [Member]    
Liabilities measured at fair value    
Common stock warrant liabilities (Public) 17,992  
Fair Value Measurements Recurring [Member] | Money Market Funds [Member]    
Assets measured at fair value    
Available-for-sale investments 929,842 74,049
Fair Value Measurements Recurring [Member] | Cash Equivalents [Member]    
Assets measured at fair value    
Available-for-sale investments 929,842 74,049
Fair Value Measurements Recurring [Member] | Term Deposits [Member]    
Assets measured at fair value    
Available-for-sale investments 40,069  
Fair Value Measurements Recurring [Member] | Asset Backed Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 69,496 52,022
Fair Value Measurements Recurring [Member] | Government Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 47,308 57,829
Fair Value Measurements Recurring [Member] | Corporate Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 186,376 258,736
Fair Value Measurements Recurring [Member] | Level 1 [Member]    
Assets measured at fair value    
Available-for-sale investments  
Total fair value of assets 929,842 74,049
Liabilities measured at fair value    
Total fair value of liabilities 26,910  
Fair Value Measurements Recurring [Member] | Level 1 [Member] | Common Stock Warrant Liabilities Public [Member]    
Liabilities measured at fair value    
Common stock warrant liabilities (Public) 26,910  
Fair Value Measurements Recurring [Member] | Level 1 [Member] | Money Market Funds [Member]    
Assets measured at fair value    
Available-for-sale investments 929,842 74,049
Fair Value Measurements Recurring [Member] | Level 1 [Member] | Cash Equivalents [Member]    
Assets measured at fair value    
Available-for-sale investments 929,842 74,049
Fair Value Measurements Recurring [Member] | Level 2 [Member]    
Assets measured at fair value    
Available-for-sale investments 343,249 368,587
Total fair value of assets 343,249 368,587
Liabilities measured at fair value    
Total fair value of liabilities 17,992  
Fair Value Measurements Recurring [Member] | Level 2 [Member] | Common Stock Warrant Liabilities Private [Member]    
Liabilities measured at fair value    
Common stock warrant liabilities (Public) 17,992  
Fair Value Measurements Recurring [Member] | Level 2 [Member] | Term Deposits [Member]    
Assets measured at fair value    
Available-for-sale investments 40,069  
Fair Value Measurements Recurring [Member] | Level 2 [Member] | Asset Backed Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 69,496 52,022
Fair Value Measurements Recurring [Member] | Level 2 [Member] | Government Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 47,308 57,829
Fair Value Measurements Recurring [Member] | Level 2 [Member] | Corporate Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 186,376 258,736
Fair Value Measurements Recurring [Member] | Level 3 [Member]    
Assets measured at fair value    
Available-for-sale investments  
Total fair value of assets  
Liabilities measured at fair value    
Derivative liability (Earnout Shares) 109,844  
Total fair value of liabilities $ 109,844