Annual report [Section 13 and 15(d), not S-K Item 405]

Capital Structure - Narrative (Details)

v3.25.1
Capital Structure - Narrative (Details)
1 Months Ended 3 Months Ended 12 Months Ended
Aug. 13, 2024
shares
Mar. 28, 2024
USD ($)
shares
Mar. 27, 2024
shares
May 04, 2023
USD ($)
Feb. 07, 2023
USD ($)
$ / shares
shares
Aug. 31, 2023
USD ($)
May 31, 2023
$ / shares
shares
Dec. 31, 2024
USD ($)
class_of_stock
$ / shares
shares
Dec. 31, 2024
USD ($)
class_of_stock
$ / shares
shares
Dec. 31, 2023
USD ($)
$ / shares
shares
Dec. 31, 2022
USD ($)
shares
Class of Warrant or Right [Line Items]                      
Number of classes of stock authorized to issue | class_of_stock               2 2    
Number of shares of capital stock authorized to issue (in shares)               205,000,000 205,000,000    
Common stock, shares authorized (in shares)               200,000,000 200,000,000 200,000,000  
Preferred stock, shares authorized (in shares)               5,000,000 5,000,000    
Preferred stock, par value (in dollars per share) | $ / shares               $ 0.001 $ 0.001    
Common stock, par value (in dollars per share) | $ / shares               $ 0.001 $ 0.001 $ 0.001  
Proceeds from private placement investment, gross | $                 $ 115,625,000 $ 0  
Proceeds from exercise of warrants issued in private placement, gross | $                 $ 69,375,000 $ 0  
Temporary equity, shares authorized (in shares)               5,000,000 5,000,000    
Temporary equity, shares outstanding (in shares)               2 2 0 0
Temporary equity, values issued | $               $ 0 $ 0 $ 0 $ 0
Class of warrant or right, ownership, exercise threshold             61 days        
Nantahala Capital Management LLC                      
Class of Warrant or Right [Line Items]                      
Percentage of ownership         5.00%            
Minimum                      
Class of Warrant or Right [Line Items]                      
Class of warrant or right, ownership percentage, exercise threshold             9.99%        
Maximum                      
Class of Warrant or Right [Line Items]                      
Class of warrant or right, ownership percentage, exercise threshold             19.99%        
Warrant liability                      
Class of Warrant or Right [Line Items]                      
Exercise price per share (in dollars per share) | $ / shares         $ 1,200            
Number of shares available under warrant (in shares)         1,875            
Level 3                      
Class of Warrant or Right [Line Items]                      
Settlement of warrant liability | $                 (73,290,000)    
Level 3 | Warrant liability                      
Class of Warrant or Right [Line Items]                      
Settlement of warrant liability | $               $ (73,300,000) $ (73,290,000)    
Common stock                      
Class of Warrant or Right [Line Items]                      
Conversion of stock, issuance (in shares) 6,585,314                    
Issuance of common shares pursuant to ATM Program, net (in shares)               781,259   746,076  
Warrant liability | Level 3                      
Class of Warrant or Right [Line Items]                      
Exercise price per share (in dollars per share) | $ / shares               $ 5.796933 $ 5.796933    
Almata Transaction And March 2024 Financing                      
Class of Warrant or Right [Line Items]                      
Shares issuable in common stock (in shares)                 349    
Private Placement                      
Class of Warrant or Right [Line Items]                      
Proceeds from private placement investment, gross | $   $ 108,100,000           $ 67,600,000 $ 175,800,000    
Transaction cost | $   $ 7,500,000           1,700,000      
Proceeds from exercise of warrants issued in private placement, gross | $               69,400,000      
Private Placement | Warrant liability                      
Class of Warrant or Right [Line Items]                      
Number of shares issued (in shares)   11,967,526                  
Private Placement | Series C Preferred Stock                      
Class of Warrant or Right [Line Items]                      
Net proceeds | $   $ 115,600,000             $ 115,600,000    
Private Placement | Additional paid-in capital                      
Class of Warrant or Right [Line Items]                      
Proceeds from exercise of warrants issued in private placement, gross | $               $ 142,700,000      
ATM Agreement                      
Class of Warrant or Right [Line Items]                      
Number of shares issued (in shares)                 0 700,000  
Net proceeds | $       $ 9,032,567           $ 32,500,000  
Sale of stock, maximum amount of shares to be sold | $           $ 50,000,000          
Exchange Agreement                      
Class of Warrant or Right [Line Items]                      
Exercise price per share (in dollars per share) | $ / shares             $ 0.24        
Exchange Agreement | Warrant liability                      
Class of Warrant or Right [Line Items]                      
Number of shares issued (in shares)             5,417        
Exchange Agreement | Venrock Healthcare Capital Partners                      
Class of Warrant or Right [Line Items]                      
Number of shares issued (in shares)             5,417        
Sale of stock price per share (in dollars per share) | $ / shares             $ 0.001        
Underwritten Public Offering                      
Class of Warrant or Right [Line Items]                      
Number of shares issued (in shares)         15,717            
Net proceeds | $         $ 13,700,000            
Sale of stock price per share (in dollars per share) | $ / shares         $ 955            
Underwritten Public Offering | Armistice                      
Class of Warrant or Right [Line Items]                      
Number of shares issued (in shares)         1,875            
Series C Preferred Stock                      
Class of Warrant or Right [Line Items]                      
Preferred stock, shares authorized (in shares)               34,326 34,326 0  
Preferred stock, par value (in dollars per share) | $ / shares               $ 0.001 $ 0.001 $ 0.001  
Issuance of common shares pursuant to ATM Program, net (in shares)               11,186.267      
Preferred stock, conversion ratio               1,000 1,000    
Series C Preferred Stock | Almata Transaction And March 2024 Financing                      
Class of Warrant or Right [Line Items]                      
Shares issuable in common stock (in shares)     2,412                
Shares converted (in shares)     2,063                
Temporary equity, shares authorized (in shares)               34,326 34,326    
Temporary equity, shares outstanding (in shares)               24,896 24,896    
Temporary equity, par value per share (in dollars per share) | $ / shares               $ 0.001 $ 0.001    
Temporary equity, values issued | $               $ 1,700,000 $ 1,700,000    
Series C Preferred Stock | Almata Transaction And March 2024 Financing | Additional paid-in capital                      
Class of Warrant or Right [Line Items]                      
Temporary equity, values issued | $               $ 133,000,000 $ 133,000,000    
Series C Preferred Stock | Private Placement                      
Class of Warrant or Right [Line Items]                      
Shares converted (in shares) 6,585                    
Number of shares issued (in shares)   19,946                  
Series D Preferred Stock                      
Class of Warrant or Right [Line Items]                      
Temporary equity, shares authorized (in shares)               1 1 0  
Temporary equity, shares outstanding (in shares)               1 1 0  
Temporary equity, par value per share (in dollars per share) | $ / shares               $ 0.001 $ 0.001 $ 0.001  
Temporary equity, values issued | $               $ 0 $ 0 $ 0  
Temporary equity, liquidation preference (in dollars per share) | $ / shares               $ 0.001 $ 0.001    
Series E Preferred Stock                      
Class of Warrant or Right [Line Items]                      
Temporary equity, shares authorized (in shares)               1 1 0  
Temporary equity, shares outstanding (in shares)               1 1 0  
Temporary equity, par value per share (in dollars per share) | $ / shares               $ 0.001 $ 0.001 $ 0.001  
Temporary equity, values issued | $               $ 0 $ 0 $ 0  
Temporary equity, liquidation preference (in dollars per share) | $ / shares               $ 0.001 $ 0.001    
AlmataBio Transaction                      
Class of Warrant or Right [Line Items]                      
Common stock shares issued (in shares)     171,605                
Shares issuable in common stock (in shares)     2,412                
AlmataBio Transaction | Common stock                      
Class of Warrant or Right [Line Items]                      
Conversion of stock, issuance (in shares)     2,062,930