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.2
Fair Value Measurements - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Assets measured at fair value    
Fair value $ 812,093 $ 910,692
Liabilities measured at fair value    
Common stock warrant liabilities 113,774 28,783
Earnout shares liability 161,248 44,055
Term deposits    
Assets measured at fair value    
Fair value 41,461 40,709
Asset backed securities    
Assets measured at fair value    
Fair value 41,859 54,707
Government debt securities    
Assets measured at fair value    
Fair value 355,543 362,851
Corporate debt securities    
Assets measured at fair value    
Fair value 373,230 452,425
Fair Value Measurements Recurring    
Assets measured at fair value    
Cash equivalents 155,962 108,119
Fair value 812,093 910,692
Total fair value of assets 968,055 1,018,811
Liabilities measured at fair value    
Common stock warrant liabilities 113,774 28,783
Earnout shares liability 161,248 44,055
Total fair value of liabilities 275,022 72,838
Fair Value Measurements Recurring | Common stock warrant liabilities (Public)    
Liabilities measured at fair value    
Common stock warrant liabilities 45,713 8,318
Fair Value Measurements Recurring | Common stock warrant liabilities (Private Placement)    
Liabilities measured at fair value    
Common stock warrant liabilities 30,563 5,561
Fair Value Measurements Recurring | Common Stock Warrant Liabilities Delta    
Liabilities measured at fair value    
Common stock warrant liabilities 37,498 14,903
Fair Value Measurements Recurring | Money market funds    
Assets measured at fair value    
Cash equivalents 155,962 108,119
Fair Value Measurements Recurring | Term deposits    
Assets measured at fair value    
Fair value 41,461 40,709
Fair Value Measurements Recurring | Asset backed securities    
Assets measured at fair value    
Fair value 41,859 54,707
Fair Value Measurements Recurring | Government debt securities    
Assets measured at fair value    
Fair value 355,543 362,851
Fair Value Measurements Recurring | Corporate debt securities    
Assets measured at fair value    
Fair value 373,230 452,425
Fair Value Measurements Recurring | Level 1    
Assets measured at fair value    
Cash equivalents 155,962 108,119
Fair value 0 0
Total fair value of assets 155,962 108,119
Liabilities measured at fair value    
Common stock warrant liabilities 45,713 8,318
Earnout shares liability 0 0
Total fair value of liabilities 45,713 8,318
Fair Value Measurements Recurring | Level 1 | Common stock warrant liabilities (Public)    
Liabilities measured at fair value    
Common stock warrant liabilities 45,713 8,318
Fair Value Measurements Recurring | Level 1 | Common stock warrant liabilities (Private Placement)    
Liabilities measured at fair value    
Common stock warrant liabilities 0 0
Fair Value Measurements Recurring | Level 1 | Common Stock Warrant Liabilities Delta    
Liabilities measured at fair value    
Common stock warrant liabilities 0 0
Fair Value Measurements Recurring | Level 1 | Money market funds    
Assets measured at fair value    
Cash equivalents 155,962 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 812,093 910,692
Total fair value of assets 812,093 910,692
Liabilities measured at fair value    
Common stock warrant liabilities 30,563 5,561
Earnout shares liability 0 0
Total fair value of liabilities 30,563 5,561
Fair Value Measurements Recurring | Level 2 | Common stock warrant liabilities (Public)    
Liabilities measured at fair value    
Common stock warrant liabilities 0 0
Fair Value Measurements Recurring | Level 2 | Common stock warrant liabilities (Private Placement)    
Liabilities measured at fair value    
Common stock warrant liabilities 30,563 5,561
Fair Value Measurements Recurring | Level 2 | Common Stock Warrant Liabilities Delta    
Liabilities measured at fair value    
Common stock 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 41,461 40,709
Fair Value Measurements Recurring | Level 2 | Asset backed securities    
Assets measured at fair value    
Fair value 41,859 54,707
Fair Value Measurements Recurring | Level 2 | Government debt securities    
Assets measured at fair value    
Fair value 355,543 362,851
Fair Value Measurements Recurring | Level 2 | Corporate debt securities    
Assets measured at fair value    
Fair value 373,230 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    
Common stock warrant liabilities 37,498 14,903
Earnout shares liability 161,248 44,055
Total fair value of liabilities 198,746 58,958
Fair Value Measurements Recurring | Level 3 | Common stock warrant liabilities (Public)    
Liabilities measured at fair value    
Common stock warrant liabilities 0 0
Fair Value Measurements Recurring | Level 3 | Common stock warrant liabilities (Private Placement)    
Liabilities measured at fair value    
Common stock warrant liabilities 0 0
Fair Value Measurements Recurring | Level 3 | Common Stock Warrant Liabilities Delta    
Liabilities measured at fair value    
Common stock warrant liabilities 37,498 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