Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity - Additional Information (Details)

v3.24.1
Stockholders' Equity - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Sep. 16, 2022
Sep. 15, 2022
Dec. 08, 2020
Dec. 31, 2023
Dec. 31, 2023
Dec. 31, 2022
Sep. 14, 2022
Dec. 31, 2021
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       $ 61,747 $ 61,747 $ 24,472    
Change in fair value of warrant liabilities         $ (37,275) $ 43,221    
Common stock, shares outstanding       26,448,678 26,448,678 20,263,116    
Reverse stock split fractional shares issued 0              
Gross proceeds from common stock       $ 45,000 $ 1,357      
Common Stock                
Class Of Stock [Line Items]                
Shares issued       4,900,000 350,000      
Common stock, shares outstanding       26,448,678 26,448,678 20,263,116   6,202,403
2020 Warrants                
Class Of Stock [Line Items]                
Initial fair value of warrants at issuance     $ 19,300          
Underwritten Registered Direct Offering                
Class Of Stock [Line Items]                
Shares issued         4,900,000      
Gross proceeds from common stock         $ 45,000      
Deducting underwriting fees and other transaction costs         3,400      
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         (37,300) $ 43,200    
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) $ 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)     $ 80          
Warrants issued to purchase common stock     100,000          
Private Placement | 2022 Warrants                
Class Of Stock [Line Items]                
Share price (in dollars per share) $ 10.33              
Initial fair value of warrants at issuance $ 64,700              
Remeasured fair value of warrants       $ 61,700 $ 61,700 $ 24,500    
Private Placement | 2022 Warrants | Maximum                
Class Of Stock [Line Items]                
Warrants issued to purchase common stock 13,813,912              
Private Placement | 2020 Warrants                
Class Of Stock [Line Items]                
Share price (in dollars per share)     $ 79.9          
Private Placement | 2020 Warrants | Maximum                
Class Of Stock [Line Items]                
Warrants issued to purchase common stock     282,809          
Private Placement | Merger Agreement                
Class Of Stock [Line Items]                
Common stock, shares outstanding 6,300,000