Annual report pursuant to Section 13 and 15(d)

Fair Value Measurement - Summary of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)

v3.22.4
Fair Value Measurement - Summary of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Investments | U.S. government and agency securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale $ 11,269  
Investments | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale 2,576  
Investments | Corporate Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale 7,745  
Fair Value, Recurring    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 7,277  
Fair Value, Recurring | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities 2,180 $ 21,508 [1]
Fair Value, Recurring | Public Warrants [Member] | Current Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities  
Fair Value, Recurring | Public Warrants [Member] | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities [1]   5,060
Fair Value, Recurring | Private Placement Warrants [Member] | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities [1]   6,422
Fair Value, Recurring | Contingent Earnout Liability | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities 349 10,026 [1]
Fair Value, Recurring | Credit Agreement Warrants | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities 1,831  
Fair Value, Recurring | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 5,180  
Fair Value, Recurring | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 2,097  
Fair Value, Recurring | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale 23,084  
Fair Value, Recurring | Investments | U.S. government and agency securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 11,269  
Fair Value, Recurring | Investments | U.S. treasury bills and bonds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 1,494  
Fair Value, Recurring | Investments | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale 2,576  
Fair Value, Recurring | Investments | Corporate Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale 7,745  
Fair Value, Recurring | Fair Value, Inputs, Level 1    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 5,180  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities 5,060 [1]
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Public Warrants [Member] | Current Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Public Warrants [Member] | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities [1]   5,060
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Private Placement Warrants [Member] | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Contingent Earnout Liability | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Credit Agreement Warrants | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 5,180  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale 1,494  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Investments | U.S. government and agency securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Investments | U.S. treasury bills and bonds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 1,494  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Investments | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Investments | Corporate Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale  
Fair Value, Recurring | Fair Value, Inputs, Level 2    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 2,097  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities 1,831 6,422 [1]
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Public Warrants [Member] | Current Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Public Warrants [Member] | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities   0
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Private Placement Warrants [Member] | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities [1]   6,422
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Contingent Earnout Liability | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Credit Agreement Warrants | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities 1,831  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 2,097  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale 21,590  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Investments | U.S. government and agency securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure 11,269  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Investments | U.S. treasury bills and bonds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Investments | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale 2,576  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Investments | Corporate Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale 7,745  
Fair Value, Recurring | Fair Value, Inputs, Level 3    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities 349 10,026 [1]
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Public Warrants [Member] | Current Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Public Warrants [Member] | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities   0
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Private Placement Warrants [Member] | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Contingent Earnout Liability | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities 349 $ 10,026 [1]
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Credit Agreement Warrants | Long-term Liabilities [Member]    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Long-term liabilities  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Investments | U.S. government and agency securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Investments | U.S. treasury bills and bonds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Other Assets, Fair Value Disclosure  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Investments | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Investments | Corporate Securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Debt Securities, Available-for-Sale  
[1] There were no cash equivalents or marketable securities as of December 31, 2021.