Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity - Additional Information (Details)

v3.22.0.1
Stockholders' Equity - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Jan. 22, 2021
USD ($)
$ / shares
shares
Dec. 08, 2020
USD ($)
$ / shares
shares
Apr. 09, 2019
USD ($)
Agreement
$ / shares
shares
Jan. 31, 2021
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
$ / shares
shares
Dec. 31, 2020
USD ($)
shares
Dec. 31, 2019
USD ($)
shares
Nov. 30, 2019
shares
Schedule Of Stock By Class [Table]                
Proceeds from issuance of common stock through at-the-market sales agreement, net of issuance costs | $           $ 11,896 $ 824  
Warrants to purchase common stock         2,117,094 2,117,094 2,118,094  
Remeasured fair value of warrants | $         $ 3,029 $ 19,711    
Change in fair value of warrant liability | $         $ (16,682) $ 375    
Number of underwriting agreements | Agreement     2          
Aggregate gross proceeds from public offerings | $     $ 70,000          
Underwriting discounts and commissions and estimated offering expenses payable | $     $ 5,000          
Preferred stock, shares outstanding         0 0    
Series A Convertible Preferred Stock                
Schedule Of Stock By Class [Table]                
Share price (in dollars per share) | $ / shares         $ 6.57      
Preferred stock, shares outstanding         0     666
Convertible preferred stock beneficial conversion feature | $         $ 600      
2019 Warrants                
Schedule Of Stock By Class [Table]                
Warrants to purchase common stock             2,118,344  
Warrant exercise price of common stock per share | $ / shares         $ 8.625      
Warrants expiration date         Oct. 10, 2022      
Maximum ownership percentage to total number stock issued and outstanding holder is prohibited from conversion         4.99%      
Notice period for change in owning percentage         61 days      
Warrants outstanding and remain unexercised         2,117,094      
Fair value of warrants | $         $ 9,000      
Weighted Average | 2019 Warrants | Expected volatility                
Schedule Of Stock By Class [Table]                
Fair value of weighted average volatility     86.06%          
Weighted Average | 2019 Warrants | Dividend yield                
Schedule Of Stock By Class [Table]                
Fair value of weighted expected term     3 years 6 months          
Common Stock | Series A Convertible Preferred Stock                
Schedule Of Stock By Class [Table]                
Conversion of series A stock into common stock               666,000
Underwritten Public Offering                
Schedule Of Stock By Class [Table]                
Shares issued 5,400,000     5,400,000        
Public offering price per share | $ / shares $ 14.00     $ 14.00        
Proceeds from issuance of common stock through at-the-market sales agreement, net of issuance costs | $ $ 75,600     $ 75,600        
Underwriting discounts and commissions and other transaction expenses | $ $ 5,100     $ 5,100        
Private Placement                
Schedule Of Stock By Class [Table]                
Warrants to purchase common stock         2,828,125 2,828,125    
Gross proceeds of private placement | $   $ 90,500            
Transaction costs | $   400            
Initial fair value of warrants at issuance | $   $ 19,300            
Remeasured fair value of warrants | $         $ 3,000 $ 19,700    
Change in fair value of warrant liability | $         $ (16,700) $ 400    
Private Placement | Common Stock                
Schedule Of Stock By Class [Table]                
Shares issued   10,312,500            
Private Placement | Pre-Funded Warrant                
Schedule Of Stock By Class [Table]                
Warrants to purchase common stock   1,000,000            
Share price (in dollars per share) | $ / shares   $ 8.00            
Private Placement | Warrants                
Schedule Of Stock By Class [Table]                
Share price (in dollars per share) | $ / shares   $ 7.99            
Private Placement | Warrants | Maximum                
Schedule Of Stock By Class [Table]                
Warrants to purchase common stock   2,828,125            
Public Offering | Common Stock Agreement | 2019 Warrants                
Schedule Of Stock By Class [Table]                
Warrants to purchase common stock     1,951,844          
Share price (in dollars per share) | $ / shares     $ 7.50   $ 7.50      
Public Offering | Preferred Stock Agreement | Series A Convertible Preferred Stock                
Schedule Of Stock By Class [Table]                
Shares issued     666          
Public Offering | Preferred Stock Agreement | 2019 Warrants                
Schedule Of Stock By Class [Table]                
Warrants to purchase common stock     166,500          
Share price (in dollars per share) | $ / shares     $ 7,500          
Public Offering | Common Stock | Common Stock Agreement                
Schedule Of Stock By Class [Table]                
Shares issued     8,667,333