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.23.1
Fair Value Measurements - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Assets measured at fair value    
Fair value $ 927,980 $ 910,692
Liabilities measured at fair value    
Warrant liabilities 37,814 28,783
Earnout Shares Liability 57,094 44,055
Term deposits    
Assets measured at fair value    
Fair value 40,925 40,709
Asset backed securities    
Assets measured at fair value    
Fair value 54,250 54,707
Government debt securities    
Assets measured at fair value    
Fair value 444,229 362,851
Corporate debt securities    
Assets measured at fair value    
Fair value 388,576 452,425
Fair Value Measurements Recurring    
Assets measured at fair value    
Cash equivalents 16,016 108,119
Fair value 927,980 910,692
Total fair value of assets 943,996 1,018,811
Liabilities measured at fair value    
Warrant liabilities 37,814 28,783
Earnout Shares Liability 57,094 44,055
Total fair value of liabilities 94,908 72,838
Fair Value Measurements Recurring | Common stock warrant liabilities (Public)    
Liabilities measured at fair value    
Warrant liabilities 11,213 8,318
Fair Value Measurements Recurring | Common stock warrant liabilities (Private Placement)    
Liabilities measured at fair value    
Warrant liabilities 7,497 5,561
Fair Value Measurements Recurring | Common stock warrant liabilities (Delta)    
Liabilities measured at fair value    
Warrant liabilities 19,104 14,903
Fair Value Measurements Recurring | Money market funds    
Assets measured at fair value    
Cash equivalents 16,016 108,119
Fair Value Measurements Recurring | Term deposits    
Assets measured at fair value    
Fair value 40,925 40,709
Fair Value Measurements Recurring | Asset backed securities    
Assets measured at fair value    
Fair value 54,250 54,707
Fair Value Measurements Recurring | Government debt securities    
Assets measured at fair value    
Fair value 444,229 362,851
Fair Value Measurements Recurring | Corporate debt securities    
Assets measured at fair value    
Fair value 388,576 452,425
Fair Value Measurements Recurring | Level 1    
Assets measured at fair value    
Cash equivalents 16,016 108,119
Fair value 0 0
Total fair value of assets 16,016 108,119
Liabilities measured at fair value    
Warrant liabilities 11,213 8,318
Earnout Shares Liability 0 0
Total fair value of liabilities 11,213 8,318
Fair Value Measurements Recurring | Level 1 | Common stock warrant liabilities (Public)    
Liabilities measured at fair value    
Warrant liabilities 11,213 8,318
Fair Value Measurements Recurring | Level 1 | Common stock warrant liabilities (Private Placement)    
Liabilities measured at fair value    
Warrant liabilities 0 0
Fair Value Measurements Recurring | Level 1 | Common stock warrant liabilities (Delta)    
Liabilities measured at fair value    
Warrant liabilities 0 0
Fair Value Measurements Recurring | Level 1 | Money market funds    
Assets measured at fair value    
Cash equivalents 16,016 108,119
Fair Value Measurements Recurring | Level 1 | Term deposits    
Assets measured at fair value    
Fair value 0 0
Fair Value Measurements Recurring | Level 1 | Asset backed securities    
Assets measured at fair value    
Fair value 0 0
Fair Value Measurements Recurring | Level 1 | Government debt securities    
Assets measured at fair value    
Fair value 0 0
Fair Value Measurements Recurring | Level 1 | Corporate debt securities    
Assets measured at fair value    
Fair value 0 0
Fair Value Measurements Recurring | Level 2    
Assets measured at fair value    
Cash equivalents 0 0
Fair value 927,980 910,692
Total fair value of assets 927,980 910,692
Liabilities measured at fair value    
Warrant liabilities 7,497 5,561
Earnout Shares Liability 0 0
Total fair value of liabilities 7,497 5,561
Fair Value Measurements Recurring | Level 2 | Common stock warrant liabilities (Public)    
Liabilities measured at fair value    
Warrant liabilities 0 0
Fair Value Measurements Recurring | Level 2 | Common stock warrant liabilities (Private Placement)    
Liabilities measured at fair value    
Warrant liabilities 7,497 5,561
Fair Value Measurements Recurring | Level 2 | Common stock warrant liabilities (Delta)    
Liabilities measured at fair value    
Warrant liabilities 0 0
Fair Value Measurements Recurring | Level 2 | Money market funds    
Assets measured at fair value    
Cash equivalents 0 0
Fair Value Measurements Recurring | Level 2 | Term deposits    
Assets measured at fair value    
Fair value 40,925 40,709
Fair Value Measurements Recurring | Level 2 | Asset backed securities    
Assets measured at fair value    
Fair value 54,250 54,707
Fair Value Measurements Recurring | Level 2 | Government debt securities    
Assets measured at fair value    
Fair value 444,229 362,851
Fair Value Measurements Recurring | Level 2 | Corporate debt securities    
Assets measured at fair value    
Fair value 388,576 452,425
Fair Value Measurements Recurring | Level 3    
Assets measured at fair value    
Cash equivalents 0 0
Fair value 0 0
Total fair value of assets 0 0
Liabilities measured at fair value    
Warrant liabilities 19,104 14,903
Earnout Shares Liability 57,094 44,055
Total fair value of liabilities 76,198 58,958
Fair Value Measurements Recurring | Level 3 | Common stock warrant liabilities (Public)    
Liabilities measured at fair value    
Warrant liabilities 0 0
Fair Value Measurements Recurring | Level 3 | Common stock warrant liabilities (Private Placement)    
Liabilities measured at fair value    
Warrant liabilities 0 0
Fair Value Measurements Recurring | Level 3 | Common stock warrant liabilities (Delta)    
Liabilities measured at fair value    
Warrant liabilities 19,104 14,903
Fair Value Measurements Recurring | Level 3 | Money market funds    
Assets measured at fair value    
Cash equivalents 0 0
Fair Value Measurements Recurring | Level 3 | Term deposits    
Assets measured at fair value    
Fair value 0 0
Fair Value Measurements Recurring | Level 3 | Asset backed securities    
Assets measured at fair value    
Fair value 0 0
Fair Value Measurements Recurring | Level 3 | Government debt securities    
Assets measured at fair value    
Fair value 0 0
Fair Value Measurements Recurring | Level 3 | Corporate debt securities    
Assets measured at fair value    
Fair value $ 0 $ 0