General form of registration statement for all companies including face-amount certificate companies

Fair Value Measurements and Fair Value of Financial Instruments - Summary of Company's Financial Instruments that were Measured at Fair Value (Detail)

v3.22.2.2
Fair Value Measurements and Fair Value of Financial Instruments - Summary of Company's Financial Instruments that were Measured at Fair Value (Detail) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Dec. 31, 2020
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents:   $ 77,771 $ 173,315
Financial Liabilities:   4,787 3,553
Level 1      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents:   77,771 173,315
Financial Liabilities:   0 0
Level 2      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents:   0 0
Financial Liabilities:   0 0
Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents:   0 0
Financial Liabilities:   4,787 3,553
Convertible preferred stock warrant liability [Member]      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities:   4,787 3,553
Convertible preferred stock warrant liability [Member] | Level 1      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities:   0 0
Convertible preferred stock warrant liability [Member] | Level 2      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities:   0 0
Convertible preferred stock warrant liability [Member] | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities:   4,787 3,553
Money market funds [Member]      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents:   77,771 173,315
Money market funds [Member] | Level 1      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents:   77,771 173,315
Money market funds [Member] | Level 2      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents:   0 0
Money market funds [Member] | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents:   $ 0 $ 0
Fair Value, Recurring [Member]      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents: $ 129,171    
Financial Liabilities: 76,686    
Fair Value, Recurring [Member] | Additional Shares      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 17,355    
Fair Value, Recurring [Member] | Earn-Out Shares      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 53,136    
Fair Value, Recurring [Member] | Public Warrants      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 3,381    
Fair Value, Recurring [Member] | Private Placement Warrants      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 2,814    
Fair Value, Recurring [Member] | Level 1      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents: 129,171    
Financial Liabilities: 3,381    
Fair Value, Recurring [Member] | Level 1 | Additional Shares      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 0    
Fair Value, Recurring [Member] | Level 1 | Earn-Out Shares      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 0    
Fair Value, Recurring [Member] | Level 1 | Public Warrants      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 3,381    
Fair Value, Recurring [Member] | Level 1 | Private Placement Warrants      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 0    
Fair Value, Recurring [Member] | Level 2      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents: 0    
Financial Liabilities: 2,814    
Fair Value, Recurring [Member] | Level 2 | Additional Shares      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 0    
Fair Value, Recurring [Member] | Level 2 | Earn-Out Shares      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 0    
Fair Value, Recurring [Member] | Level 2 | Public Warrants      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 0    
Fair Value, Recurring [Member] | Level 2 | Private Placement Warrants      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 2,814    
Fair Value, Recurring [Member] | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents: 0    
Financial Liabilities: 70,491    
Fair Value, Recurring [Member] | Level 3 | Additional Shares      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 17,355    
Fair Value, Recurring [Member] | Level 3 | Earn-Out Shares      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 53,136    
Fair Value, Recurring [Member] | Level 3 | Public Warrants      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 0    
Fair Value, Recurring [Member] | Level 3 | Private Placement Warrants      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Financial Liabilities: 0    
Fair Value, Recurring [Member] | Money market funds [Member]      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents: 129,171    
Fair Value, Recurring [Member] | Money market funds [Member] | Level 1      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents: 129,171    
Fair Value, Recurring [Member] | Money market funds [Member] | Level 2      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents: 0    
Fair Value, Recurring [Member] | Money market funds [Member] | Level 3      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Cash equivalents: $ 0