Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Detail)

v3.22.2.2
Stockholders' Equity - Additional Information (Detail)
1 Months Ended 3 Months Ended 6 Months Ended
Apr. 22, 2022
USD ($)
$ / shares
shares
Apr. 10, 2020
USD ($)
Jun. 30, 2021
USD ($)
shares
Jun. 30, 2022
USD ($)
$ / shares
shares
Mar. 31, 2022
USD ($)
shares
Jun. 30, 2021
USD ($)
shares
Jun. 30, 2022
USD ($)
$ / shares
shares
Jun. 30, 2021
USD ($)
shares
Dec. 31, 2021
USD ($)
$ / shares
shares
May 31, 2021
$ / shares
shares
Mar. 31, 2021
shares
Dec. 31, 2020
shares
Schedule Of Capitalization Equity [Line Items]                        
Common stock, par value (in dollars per share) | $ / shares       $ 0.001     $ 0.001   $ 0.001      
Common stock, shares authorized (in shares)       100,000,000     100,000,000   100,000,000      
Common stock, shares issued (in shares)       32,596,403     32,596,403   28,705,334      
Common stock, shares outstanding (in shares)       32,596,403     32,596,403   28,705,334      
Proceeds from common stock issued | $             $ 47,153,000 $ 3,431,000        
Warrant liabilities fair value adjustment | $       $ (9,682,000)   $ (15,271,000) (19,712,000) (16,567,000)        
Warrant liabilities | $       21,200,000     $ 21,200,000   $ 18,100,000      
Debt instrument, description             0          
Face amount | $       $ 36,383,000     $ 36,383,000          
Reclass of warrant liability to additional paid in capital | $             $ 71,000 298,000        
Second Tranche of Term Loan                        
Schedule Of Capitalization Equity [Line Items]                        
Face amount | $     $ 10,000,000.0     $ 10,000,000.0   $ 10,000,000.0        
Reclass of warrant liability to additional paid in capital | $     $ 300,000                  
Third Tranche of Term Loan                        
Schedule Of Capitalization Equity [Line Items]                        
Face amount | $         $ 5,000,000.0              
Reclass of warrant liability to additional paid in capital | $         $ 100,000              
Sales Agreement                        
Schedule Of Capitalization Equity [Line Items]                        
Common stock issued, net of expenses (in shares)           96,668   96,668        
Proceeds from common stock issued | $           $ 800,000   $ 800,000        
Loan and Security Agreement | Hercules Capital Inc. and Silicon Valley Bank                        
Schedule Of Capitalization Equity [Line Items]                        
Common stock, par value (in dollars per share) | $ / shares                   $ 0.001    
Number of warrants issued to purchase common stock (in shares)                   113,607    
Multiplier value by aggregate amount of the term loan advances divided by exercise price of warrants to calculate number of shares for purchase                   0.04    
Loan and Security Agreement | Second Tranche of Term Loan | Hercules Capital Inc. and Silicon Valley Bank                        
Schedule Of Capitalization Equity [Line Items]                        
Common stock, shares issued (in shares)     56,803     56,803   56,803        
Loan and Security Agreement | Third Tranche of Term Loan | Hercules Capital Inc. and Silicon Valley Bank                        
Schedule Of Capitalization Equity [Line Items]                        
Common stock, shares issued (in shares)         28,409              
Aspire Capital | Common Stock Purchase Agreement                        
Schedule Of Capitalization Equity [Line Items]                        
Common stock issued, net of expenses (in shares)       0     375,000          
Proceeds from common stock issued | $       $ 0     $ 1,500,000          
Cantor Fitzgerald & Co. and Ladenburg Thalmann & Co. Inc. | Sales Agreement                        
Schedule Of Capitalization Equity [Line Items]                        
Common stock issued, net of expenses (in shares)       0     137,610          
Proceeds from common stock issued | $       $ 0     $ 700,000          
Maximum | Aspire Capital | Common Stock Purchase Agreement                        
Schedule Of Capitalization Equity [Line Items]                        
Sale of common stock at sole discretion | $   $ 20,000,000.0         $ 0          
Common Stock                        
Schedule Of Capitalization Equity [Line Items]                        
Common stock, shares outstanding (in shares)     23,147,552 32,596,403 29,221,158 23,147,552 32,596,403 23,147,552 28,705,334   20,625,637 19,663,698
Common stock issued, net of expenses (in shares)       3,358,333   2,516,802 3,845,943 2,516,802        
April 2022 Public Offering                        
Schedule Of Capitalization Equity [Line Items]                        
Common stock, par value (in dollars per share) | $ / shares $ 0.001                      
Common stock issued, net of expenses (in shares) 3,333,333                      
Proceeds from common stock issued | $ $ 41,800,000                      
Warrant liabilities fair value adjustment | $       $ 1,700,000     $ 1,700,000          
April 2022 Public Offering | Pre-funded Warrants                        
Schedule Of Capitalization Equity [Line Items]                        
Common stock, par value (in dollars per share) | $ / shares $ 0.001                      
Number of warrants issued to purchase common stock (in shares) 11,666,667     11,666,667     11,666,667          
Public offering price | $ / shares $ 2.999                      
April 2022 Public Offering | Series 2 Warrant                        
Schedule Of Capitalization Equity [Line Items]                        
Exercise price of warrants (in dollars per share) | $ / shares $ 3.45                      
Warrant term 7 years                      
April 2022 Public Offering | Series 2 Warrant | Maximum                        
Schedule Of Capitalization Equity [Line Items]                        
Number of warrants issued to purchase common stock (in shares) 15,000,000                      
Number of shares received per warrant (in shares) 15,000,000                      
April 2022 Public Offering | Series 1 Warrant                        
Schedule Of Capitalization Equity [Line Items]                        
Exercise price of warrants (in dollars per share) | $ / shares $ 0.001                      
April 2022 Public Offering | Series 1 Warrant | Maximum                        
Schedule Of Capitalization Equity [Line Items]                        
Number of warrants issued to purchase common stock (in shares) 11,666,667                      
April 2022 Public Offering | Common Stock                        
Schedule Of Capitalization Equity [Line Items]                        
Public offering price | $ / shares $ 3.00