Quarterly report pursuant to Section 13 or 15(d)

Warrants - Yorkville Warrants Narrative (Details)

v3.24.2.u1
Warrants - Yorkville Warrants Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Oct. 05, 2023
Jan. 31, 2023
Jun. 30, 2024
Jun. 30, 2023
Mar. 31, 2023
Jun. 30, 2024
Jun. 30, 2023
Mar. 12, 2024
Jan. 31, 2024
Feb. 09, 2023
Feb. 05, 2023
Jan. 13, 2023
Dec. 31, 2022
Jul. 11, 2022
Class of Warrant or Right [Line Items]                            
Warrant exercise price (in dollars per share)     $ 264.50     $ 264.50                
Earlier terminated (in years)           5 years                
Reclassification of warrant liability to additional paid-in capital         $ 19,510                  
Gain on fair value change in warrant and derivative liability     $ (48,308) $ (5,623)   $ (38,836) $ (22,965)              
Warrant Agreement                            
Class of Warrant or Right [Line Items]                            
Warrants outstanding (in shares)                     2,200,000     2,700,000
Warrant exercise price (in dollars per share)                           $ 49.45
Yorkville Warrants | Warrant Cancellation and Exchange Agreement                            
Class of Warrant or Right [Line Items]                            
Warrants outstanding (in shares)                 5,500,000          
Yorkville Warrants | Common Stock                            
Class of Warrant or Right [Line Items]                            
Purchase share price (in dollars per share)     $ 14.26     $ 14.26                
Yorkville Warrants | Warrant Agreement                            
Class of Warrant or Right [Line Items]                            
Warrants outstanding (in shares)     2,100,000     2,100,000             1,300,000  
Class of additional warrant or right, outstanding (in shares)     5,500,000     5,500,000           200,000    
Warrant exercise price (in dollars per share)     $ 12.42     $ 12.42       $ 24.15     $ 26.45  
Earlier terminated (in years)     5 years                      
Stock-based compensation expense $ 61,500                          
Reclassification of warrant liability to additional paid-in capital $ 43,400 $ 19,500                        
Gain on fair value change in warrant and derivative liability   $ (300)                        
Purchase share price (in dollars per share)     $ 2.13     $ 2.13                
Yorkville Warrants | Warrant Agreement | PIPE                            
Class of Warrant or Right [Line Items]                            
Gain on fair value change in warrant and derivative liability     $ (31,400)     $ (4,600)                
Dividend yield           0.00%                
Warrants fair value     $ 38,800     $ 38,800                
Yorkville Warrants | First Warrant | Warrant Cancellation and Exchange Agreement                            
Class of Warrant or Right [Line Items]                            
Warrant exercise price (in dollars per share)                 $ 4.14          
Corresponding increase in the total number of authorized share (in shares)               10,400,000 4,800,000          
Yorkville Warrants | Second Warrant | Warrant Cancellation and Exchange Agreement                            
Class of Warrant or Right [Line Items]                            
Warrant exercise price (in dollars per share)               $ 1.37 $ 4.14          
Corresponding increase in the total number of authorized share (in shares)               10,900,000 5,500,000