Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity - Additional Information (Details)

v3.22.4
Stockholders' Equity - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Sep. 16, 2022
USD ($)
$ / shares
shares
Sep. 15, 2022
shares
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, 2022
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
shares
Dec. 31, 2020
USD ($)
shares
Sep. 14, 2022
shares
Dec. 31, 2019
shares
Nov. 30, 2019
shares
Class Of Stock [Line Items]                        
Increase in common stock authorized   700,000,000         70,000,000 20,000,000   200,000,000    
Effective date of share increase amendment             Sep. 15, 2022          
Reverse stock split number of authorized common stock proportionately adjusted 70,000,000 700,000,000                    
Public offering price per share | $ / shares     $ 140.00                  
Remeasured fair value of warrants | $             $ 24,472 $ 3,029        
Change in fair value of warrant liabilities | $             $ 43,221 $ 16,682 $ (375)      
Common stock, shares outstanding             20,263,116 6,202,403        
Reverse stock split fractional shares issued 0                      
Number of underwriting agreements | Agreement         2              
Aggregate gross proceeds from public offerings | $         $ 70,000              
Gross proceeds from common stock | $                 $ 11,896      
Underwriting discounts and commissions and estimated offering expenses payable | $         $ 5,000              
Preferred stock, shares outstanding             0 0        
Warrants issued to purchase common stock               211,709 211,709      
Series A Preferred Stock                        
Class Of Stock [Line Items]                        
Preferred stock, shares outstanding             0         666
Class A Warrants                        
Class Of Stock [Line Items]                        
Warrant exercise price of common stock per share | $ / shares             $ 86.25          
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 issued to purchase common stock             0          
Class A Warrants                        
Class Of Stock [Line Items]                        
Warrants issued to purchase common stock             211,709          
Common Stock                        
Class Of Stock [Line Items]                        
Common stock, shares outstanding             20,263,116 6,202,403 5,622,274   4,336,780  
Common Stock | Series A Preferred Stock                        
Class Of Stock [Line Items]                        
Conversion of series A stock into common stock                       66,600
Underwritten Public Offering                        
Class Of Stock [Line Items]                        
Shares issued     540,000     540,000            
Public offering price per share | $ / shares           $ 140.00            
Underwriting discounts and commissions and other transaction expenses | $     $ 5,100     $ 5,100            
Gross proceeds from common stock | $     $ 75,600     $ 75,600            
Private Placement                        
Class Of Stock [Line Items]                        
Gross proceeds of private placement | $ $ 129,900     $ 90,500                
Transaction costs | $ $ 10,100     400                
Initial fair value of warrants at issuance | $       $ 19,300                
Change in fair value of warrant liabilities | $             $ 43,200 $ 16,700 $ (400)      
Private Placement | Common Stock                        
Class Of Stock [Line Items]                        
Shares issued 6,387,173     1,031,250     6,387,173          
Private Placement | 2022 Pre-Funded Warrants                        
Class Of Stock [Line Items]                        
Share price (in dollars per share) | $ / shares $ 10.34     $ 80.00                
Warrants issued to purchase common stock 7,426,739     100,000                
Private Placement | 2022 Warrants                        
Class Of Stock [Line Items]                        
Share price (in dollars per share) | $ / shares $ 10.33     $ 79.90                
Initial fair value of warrants at issuance | $ $ 64,700                      
Remeasured fair value of warrants | $             $ 24,500 $ 3,000        
Private Placement | 2022 Warrants | Maximum                        
Class Of Stock [Line Items]                        
Warrants issued to purchase common stock 13,813,912     282,809                
Private Placement | Merger Agreement                        
Class Of Stock [Line Items]                        
Common stock, shares outstanding 6,300,000                      
Public Offering | Common Stock Agreement | Class A Warrants                        
Class Of Stock [Line Items]                        
Share price (in dollars per share) | $ / shares         $ 75.0              
Warrants issued to purchase common stock         195,184              
Public Offering | Preferred Stock Agreement | Series A Preferred Stock                        
Class Of Stock [Line Items]                        
Shares issued         666              
Public Offering | Preferred Stock Agreement | Class A Warrants                        
Class Of Stock [Line Items]                        
Share price (in dollars per share) | $ / shares         $ 75,000              
Warrants issued to purchase common stock         16,650              
Public Offering | Common Stock | Common Stock Agreement                        
Class Of Stock [Line Items]                        
Shares issued         866,733