Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.2.2
Fair Value Measurement - Summary of Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail) - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
U.S government and agency securities | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure $ 9,710  
Commercial Paper | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 2,581  
Corporate securities | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 6,432  
Fair Value, Recurring    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 4,475 $ 21,508
Assets Fair Value Disclosure 7,687  
Fair Value, Recurring | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 22,398  
Fair Value, Recurring | U.S government and agency securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 9,710  
Fair Value, Recurring | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 5,090  
Fair Value, Recurring | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 2,597  
Fair Value, Recurring | Commercial Paper | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 2,581  
Fair Value, Recurring | Corporate securities | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 6,432  
Fair Value, Recurring | Public Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 1,380 5,060
Fair Value, Recurring | Private Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 261 6,422
Fair Value, Recurring | Credit Agreement Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 2,405  
Fair Value, Recurring | Contingent Earnout Liability    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 429 10,026
Fair Value, Recurring | Fair Value, Inputs, Level 1    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 1,380 5,060
Assets Fair Value Disclosure 5,090  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 3,675  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | U.S government and agency securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 5,090  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Commercial Paper | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Corporate securities | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Public Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 1,380 5,060
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Private Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 0 0
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Credit Agreement Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 0  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Contingent Earnout Liability    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 0 0
Fair Value, Recurring | Fair Value, Inputs, Level 2    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 2,666 6,422
Assets Fair Value Disclosure 2,597  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 18,723  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | U.S government and agency securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 9,710  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 2,597  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Commercial Paper | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 2,581  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Corporate securities | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 6,432  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Public Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 0 0
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Private Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 261 6,422
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Credit Agreement Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 2,405  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Contingent Earnout Liability    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 0 0
Fair Value, Recurring | Fair Value, Inputs, Level 3    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 429 10,026
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | U.S government and agency securities    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Commercial Paper | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Corporate securities | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Public Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 0 0
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Private Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 0 0
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Credit Agreement Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 0  
Fair Value, Recurring | Fair Value, Inputs, Level 3 | Contingent Earnout Liability    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 429 $ 10,026
U.S. treasury bills and bonds | Fair Value, Recurring | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 3,675  
U.S. treasury bills and bonds | Fair Value, Recurring | Fair Value, Inputs, Level 1    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 3,675  
U.S. treasury bills and bonds | Fair Value, Recurring | Fair Value, Inputs, Level 2    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 0  
U.S. treasury bills and bonds | Fair Value, Recurring | Fair Value, Inputs, Level 3    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure $ 0