Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Details)

v3.23.1
Stockholders' Equity - Additional Information (Details)
$ / shares in Units, $ in Thousands
3 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
Mar. 31, 2023
USD ($)
$ / shares
shares
Mar. 31, 2022
USD ($)
shares
Dec. 31, 2022
USD ($)
shares
Sep. 14, 2022
shares
Dec. 31, 2021
shares
Nov. 30, 2019
shares
Class Of Stock [Line Items]                      
Increase in common stock authorized   700,000,000       70,000,000   70,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 | $           $ 15,607   $ 24,472      
Change in fair value of warrant liabilities | $           $ 8,865 $ 2,448        
Common stock, shares outstanding           20,409,130   20,263,116      
Reverse stock split fractional shares issued 0                    
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      
Warrants issued to purchase common stock             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          
Common Stock                      
Class Of Stock [Line Items]                      
Common stock, shares outstanding           20,409,130 6,280,129 20,263,116   6,202,403  
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                
Gross proceeds from common stock | $     $ 75,600                
Underwriting discounts and commissions and other transaction expenses | $     $ 5,100                
Private Placement                      
Class Of Stock [Line Items]                      
Gross proceeds of private placement | $ $ 129,900     $ 90,500              
Transaction costs | $ $ 10,100     $ 400              
Change in fair value of warrant liabilities | $           $ (8,900) $ (2,400)        
Private Placement | Common Stock                      
Class Of Stock [Line Items]                      
Shares issued 6,387,173     1,031,250              
Private Placement | 2022 Pre-Funded Warrants                      
Class Of Stock [Line Items]                      
Share price (in dollars per share) | $ / shares $ 10.34                    
Warrants issued to purchase common stock 7,426,739                    
Private Placement | 2020 Pre-Funded Warrants                      
Class Of Stock [Line Items]                      
Share price (in dollars per share) | $ / shares       $ 80.00              
Warrants issued to purchase common stock       100,000              
Private Placement | 2020 Warrants                      
Class Of Stock [Line Items]                      
Share price (in dollars per share) | $ / shares       $ 79.90              
Initial fair value of warrants at issuance | $       $ 19,300              
Remeasured fair value of warrants | $               $ 24,500      
Private Placement | 2020 Warrants | Maximum                      
Class Of Stock [Line Items]                      
Warrants issued to purchase common stock       282,809              
Private Placement | 2022 Warrants                      
Class Of Stock [Line Items]                      
Share price (in dollars per share) | $ / shares $ 10.33                    
Initial fair value of warrants at issuance | $ $ 64,700                    
Remeasured fair value of warrants | $           $ 15,600          
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