Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Summary of Financial Instruments Measured on a Recurring Basis (Detail)

v3.22.2.2
Fair Value Measurements - Summary of Financial Instruments Measured on a Recurring Basis (Detail) - Fair Value, Measurements, Recurring - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets $ 118,909 $ 104,715
Fair value of financial liabilities 21,428 19,420
Warrant liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 21,232 18,062
Derivative liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 196 1,358
Cash    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 484 310
Restricted cash    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 218 218
Money market funds    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 118,207 104,187
Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 118,909 104,715
Fair value of financial liabilities 0 0
Quoted Prices in Active Markets for Identical Assets (Level 1) | Warrant liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 0 0
Quoted Prices in Active Markets for Identical Assets (Level 1) | Derivative liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 0 0
Quoted Prices in Active Markets for Identical Assets (Level 1) | Cash    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 484 310
Quoted Prices in Active Markets for Identical Assets (Level 1) | Restricted cash    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 218 218
Quoted Prices in Active Markets for Identical Assets (Level 1) | Money market funds    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 118,207 104,187
Significant Other Observable Inputs (Level 2)    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 0 0
Fair value of financial liabilities 0 0
Significant Other Observable Inputs (Level 2) | Warrant liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 0 0
Significant Other Observable Inputs (Level 2) | Derivative liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 0 0
Significant Other Observable Inputs (Level 2) | Cash    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 0 0
Significant Other Observable Inputs (Level 2) | Restricted cash    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 0 0
Significant Other Observable Inputs (Level 2) | Money market funds    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 0 0
Significant Unobservable Inputs (Level 3)    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 0 0
Fair value of financial liabilities 21,428 19,420
Significant Unobservable Inputs (Level 3) | Warrant liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 21,232 18,062
Significant Unobservable Inputs (Level 3) | Derivative liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 196 1,358
Significant Unobservable Inputs (Level 3) | Cash    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 0 0
Significant Unobservable Inputs (Level 3) | Restricted cash    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 0 0
Significant Unobservable Inputs (Level 3) | Money market funds    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets $ 0 $ 0