Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.2
Fair Value Measurements - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis (Details) - USD ($)
$ in Thousands
Sep. 30, 2021
Dec. 31, 2020
Assets measured at fair value    
Available-for-sale investments $ 345,991 $ 368,587
Term Deposits [Member]    
Assets measured at fair value    
Available-for-sale investments 40,046  
Asset Backed Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 69,676 52,022
Government Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 47,234 57,829
Corporate Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 189,035 258,736
Fair Value Measurements Recurring [Member]    
Assets measured at fair value    
Money market funds   368,587
Available-for-sale investments 345,991  
Marketable Securities   368,587
Total fair value of assets 1,328,101 442,636
Liabilities measured at fair value    
Derivative liability (Earnout Shares) 151,323  
Total fair value of liabilities 216,088  
Fair Value Measurements Recurring [Member] | Common Stock Warrant Liabilities Public [Member]    
Liabilities measured at fair value    
Common stock warrant liabilities (Public) 38,814  
Fair Value Measurements Recurring [Member] | Common Stock Warrant Liabilities Private [Member]    
Liabilities measured at fair value    
Common stock warrant liabilities (Public) 25,951  
Fair Value Measurements Recurring [Member] | Money Market Funds [Member]    
Assets measured at fair value    
Available-for-sale investments 982,110 74,049
Fair Value Measurements Recurring [Member] | Cash Equivalents [Member]    
Assets measured at fair value    
Available-for-sale investments 982,110 74,049
Fair Value Measurements Recurring [Member] | Term Deposits [Member]    
Assets measured at fair value    
Available-for-sale investments 40,046  
Fair Value Measurements Recurring [Member] | Asset Backed Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 69,676 52,022
Fair Value Measurements Recurring [Member] | Government Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 47,234 57,829
Fair Value Measurements Recurring [Member] | Corporate Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 189,035 258,736
Fair Value Measurements Recurring [Member] | Level 1 [Member]    
Assets measured at fair value    
Money market funds  
Marketable Securities  
Total fair value of assets 982,110 74,049
Liabilities measured at fair value    
Total fair value of liabilities 38,814  
Fair Value Measurements Recurring [Member] | Level 1 [Member] | Common Stock Warrant Liabilities Public [Member]    
Liabilities measured at fair value    
Common stock warrant liabilities (Public) 38,814  
Fair Value Measurements Recurring [Member] | Level 1 [Member] | Money Market Funds [Member]    
Assets measured at fair value    
Available-for-sale investments 982,110 74,049
Fair Value Measurements Recurring [Member] | Level 1 [Member] | Cash Equivalents [Member]    
Assets measured at fair value    
Available-for-sale investments 982,110 74,049
Fair Value Measurements Recurring [Member] | Level 2 [Member]    
Assets measured at fair value    
Money market funds   368,587
Available-for-sale investments 345,991  
Marketable Securities   368,587
Total fair value of assets 345,991 368,587
Liabilities measured at fair value    
Total fair value of liabilities 25,951  
Fair Value Measurements Recurring [Member] | Level 2 [Member] | Common Stock Warrant Liabilities Private [Member]    
Liabilities measured at fair value    
Common stock warrant liabilities (Public) 25,951  
Fair Value Measurements Recurring [Member] | Level 2 [Member] | Term Deposits [Member]    
Assets measured at fair value    
Available-for-sale investments 40,046  
Fair Value Measurements Recurring [Member] | Level 2 [Member] | Asset Backed Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 69,676 52,022
Fair Value Measurements Recurring [Member] | Level 2 [Member] | Government Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 47,234 57,829
Fair Value Measurements Recurring [Member] | Level 2 [Member] | Corporate Debt Securities [Member]    
Assets measured at fair value    
Available-for-sale investments 189,035 258,736
Fair Value Measurements Recurring [Member] | Level 3 [Member]    
Assets measured at fair value    
Money market funds  
Marketable Securities  
Total fair value of assets  
Liabilities measured at fair value    
Derivative liability (Earnout Shares) 151,323  
Total fair value of liabilities $ 151,323