Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Details)

v3.23.3
Stockholders' Equity - Additional Information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 16, 2022
USD ($)
$ / shares
shares
Sep. 15, 2022
shares
Dec. 08, 2020
USD ($)
$ / shares
shares
Apr. 09, 2019
USD ($)
Agreement
$ / shares
shares
Sep. 30, 2023
USD ($)
$ / shares
shares
Sep. 30, 2022
USD ($)
shares
Sep. 30, 2023
USD ($)
$ / shares
shares
Sep. 30, 2022
USD ($)
shares
Jun. 30, 2023
shares
Dec. 31, 2022
USD ($)
shares
Sep. 14, 2022
shares
Jun. 30, 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     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                        
Remeasured fair value of warrants | $         $ 24,549   $ 24,549     $ 24,472        
Change in fair value of warrant liabilities | $         $ (5,837) $ 9,860 $ (77) $ 12,465            
Common stock, shares outstanding         20,720,447   20,720,447     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     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   0             666
Class A Warrants                            
Class Of Stock [Line Items]                            
Warrant exercise price of common stock per share | $ / shares         $ 86.25   $ 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              
Common Stock                            
Class Of Stock [Line Items]                            
Common stock, shares outstanding         20,720,447 20,225,352 20,720,447 20,225,352 20,708,356 20,263,116   6,298,898 6,202,403  
Common Stock | Series A Preferred Stock                            
Class Of Stock [Line Items]                            
Conversion of series A stock into common stock                           66,600
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 | $         $ (5,800) $ (9,900) $ (100) $ (2,500)            
Private Placement | Common Stock                            
Class Of Stock [Line Items]                            
Shares issued 6,387,173   1,031,250     6,387,173   6,387,173            
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                      
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.9                      
Initial fair value of warrants at issuance | $     $ 19,300                      
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 | $         $ 24,600   $ 24,600     $ 24,500        
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