Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.2
Fair Value Measurements - Summary of Financial Instruments Measured on a Recurring Basis (Detail) - Fair Value, Measurements, Recurring - USD ($)
$ in Thousands
Sep. 30, 2021
Dec. 31, 2020
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets $ 100,327 $ 93,314
Fair value of financial liabilities 16,091 57,110
Warrant liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 15,335 51,156
Derivative liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 756 5,954
Cash    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 173 117
Restricted cash    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 218 273
Money market funds    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial assets 99,936 92,924
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 100,327 93,314
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 173 117
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 273
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 99,936 92,924
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 16,091 57,110
Significant Unobservable Inputs (Level 3) | Warrant liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 15,335 51,156
Significant Unobservable Inputs (Level 3) | Derivative liabilities    
Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]    
Fair value of financial liabilities 756 5,954
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