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
Jun. 30, 2022
Dec. 31, 2021
Commercial Paper | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure $ 3,845  
Corporate securities | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 9,045  
Fair Value, Recurring    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 6,101 $ 21,508
Assets Fair Value Disclosure 9,381  
Fair Value, Recurring | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 20,556  
Fair Value, Recurring | Blue Torch And GPO Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 2,978  
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 2,997  
Fair Value, Recurring | U.S government and agency securities | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 7,666  
Fair Value, Recurring | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 5,084  
Fair Value, Recurring | Commercial Paper    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 1,300  
Fair Value, Recurring | Commercial Paper | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 3,845  
Fair Value, Recurring | Corporate securities | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 9,045  
Fair Value, Recurring | Public Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 1,610 5,060
Fair Value, Recurring | Private Placement Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 740 6,422
Fair Value, Recurring | Contingent Earnout Liability    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 773 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,610 5,060
Assets Fair Value Disclosure 5,084  
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 0  
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Blue Torch And GPO 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 | 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 | U.S government and agency 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 | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 5,084  
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,610 5,060
Fair Value, Recurring | Fair Value, Inputs, Level 1 | Private Placement 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 | 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 3,718 6,422
Assets Fair Value Disclosure 4,297  
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 20,556  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | Blue Torch And GPO Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 2,978  
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 2,997  
Fair Value, Recurring | Fair Value, Inputs, Level 2 | U.S government and agency securities | Investments    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Assets Fair Value Disclosure 7,666  
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 1,300  
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 3,845  
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 9,045  
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 Placement Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability 740 6,422
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 773 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 | Blue Torch And GPO 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 | 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 | U.S government and agency 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 | 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 Placement 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 | Contingent Earnout Liability    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Warrant liability $ 773 $ 10,026