Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Additional Information (Details)

v3.22.2.2
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
Jan. 22, 2021
USD ($)
$ / shares
shares
Dec. 08, 2020
USD ($)
$ / shares
shares
Apr. 09, 2019
USD ($)
Agreement
$ / shares
shares
Sep. 30, 2022
USD ($)
$ / shares
shares
Sep. 30, 2021
USD ($)
shares
Sep. 30, 2022
USD ($)
$ / shares
shares
Sep. 30, 2021
USD ($)
shares
Sep. 14, 2022
shares
Jun. 30, 2022
shares
Dec. 31, 2021
USD ($)
shares
Jun. 30, 2021
shares
Dec. 31, 2020
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   20,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 | $           $ 55,228   $ 55,228       $ 3,029      
Change in fair value of warrant liability | $           $ 9,860 $ 1,836 $ 12,465 $ 14,117            
Common stock, shares outstanding           20,225,352   20,225,352       6,202,404      
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 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              
Class A Warrants                              
Class Of Stock [Line Items]                              
Warrants issued to purchase common stock           211,709   211,709              
Common Stock                              
Class Of Stock [Line Items]                              
Common stock, shares outstanding           20,225,352 6,194,293 20,225,352 6,194,293   6,298,898 6,202,403 6,192,025 5,622,274  
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                      
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     $ 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     $ 19,300                      
Remeasured fair value of warrants | $           $ 55,200   $ 55,200       $ 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