Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements (As Restated) - Schedule of Financial Assets and Liabilities Measured at Fair Value On Recurring Basis (Details)

v3.23.3
Fair Value Measurements (As Restated) - Schedule of Financial Assets and Liabilities Measured at Fair Value On Recurring Basis (Details) - Recurring Basis - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Assets:    
Total assets measured at fair value $ 141,612 $ 149,971
Liabilities:    
Liabilities of fair value 74,503 23,734
Money market funds    
Assets:    
Total assets measured at fair value 101,998 149,971
U.S. Treasury bills    
Assets:    
Total assets measured at fair value 39,614  
Contingent earn-out liability    
Liabilities:    
Liabilities of fair value 45,649 14,218
Contingently issuable common stock liability    
Liabilities:    
Liabilities of fair value 9,229 3,392
Public Warrant liability    
Liabilities:    
Liabilities of fair value 19,625 6,124
Level 1    
Assets:    
Total assets measured at fair value 101,998 149,971
Liabilities:    
Liabilities of fair value 19,625 6,124
Level 1 | Money market funds    
Assets:    
Total assets measured at fair value 101,998 149,971
Level 1 | U.S. Treasury bills    
Assets:    
Total assets measured at fair value 0  
Level 1 | Contingent earn-out liability    
Liabilities:    
Liabilities of fair value 0 0
Level 1 | Contingently issuable common stock liability    
Liabilities:    
Liabilities of fair value 0 0
Level 1 | Public Warrant liability    
Liabilities:    
Liabilities of fair value 19,625 6,124
Level 2    
Assets:    
Total assets measured at fair value 39,614 0
Liabilities:    
Liabilities of fair value 0 0
Level 2 | Money market funds    
Assets:    
Total assets measured at fair value 0 0
Level 2 | U.S. Treasury bills    
Assets:    
Total assets measured at fair value 39,614  
Level 2 | Contingent earn-out liability    
Liabilities:    
Liabilities of fair value 0 0
Level 2 | Contingently issuable common stock liability    
Liabilities:    
Liabilities of fair value 0 0
Level 2 | Public Warrant liability    
Liabilities:    
Liabilities of fair value 0 0
Level 3    
Assets:    
Total assets measured at fair value 0 0
Liabilities:    
Liabilities of fair value 54,878 17,610
Level 3 | Money market funds    
Assets:    
Total assets measured at fair value 0 0
Level 3 | U.S. Treasury bills    
Assets:    
Total assets measured at fair value 0  
Level 3 | Contingent earn-out liability    
Liabilities:    
Liabilities of fair value 45,649 14,218
Level 3 | Contingently issuable common stock liability    
Liabilities:    
Liabilities of fair value 9,229 3,392
Level 3 | Public Warrant liability    
Liabilities:    
Liabilities of fair value $ 0 $ 0