Quarterly report pursuant to Section 13 or 15(d)

Equity (Details)

v3.24.2.u1
Equity (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Apr. 09, 2024
USD ($)
$ / shares
shares
Sep. 29, 2023
USD ($)
$ / shares
shares
Feb. 05, 2023
USD ($)
$ / shares
shares
Oct. 05, 2022
Aug. 08, 2022
USD ($)
Mar. 31, 2023
USD ($)
Jun. 30, 2024
USD ($)
$ / shares
shares
Dec. 31, 2023
shares
Oct. 05, 2023
shares
Apr. 24, 2023
$ / shares
Jul. 22, 2022
$ / shares
Jul. 20, 2022
$ / shares
Jul. 11, 2022
shares
Subsidiary or Equity Method Investee [Line Items]                          
Preferred stock, shares authorized (in shares)             10,000,000 10,000,000          
Yorkville                          
Subsidiary or Equity Method Investee [Line Items]                          
Purchase share price (in dollars per share) | $ / shares                     $ 11.50 $ 23.00  
Yorkville | Convertible Debt                          
Subsidiary or Equity Method Investee [Line Items]                          
Purchase share price (in dollars per share) | $ / shares                   $ 2.30      
7.5% Series B Cumulative Perpetual Redeemable Preferred Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Dividend rate (in percentage)             7.50%            
Dividend rate increase after first reset date             0.015            
7.5% Series B Cumulative Perpetual Redeemable Preferred Stock | Yorkville | Fourth Convertible Debentures and Warrants | Convertible Debt                          
Subsidiary or Equity Method Investee [Line Items]                          
Issuance of shares under legal settlement (in shares)             0            
7.5% Series C Cumulative Perpetual Redeemable Preferred Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Dividend rate (in percentage)             7.50%            
Dividend rate increase after first reset date             0.015            
Loss on issuance of temporary equity | $             $ 25,600            
7.5% Series C Cumulative Perpetual Redeemable Preferred Stock | Yorkville | Fourth Convertible Debentures and Warrants | Convertible Debt                          
Subsidiary or Equity Method Investee [Line Items]                          
Issuance of shares under legal settlement (in shares)             0            
Minimum                          
Subsidiary or Equity Method Investee [Line Items]                          
Corresponding increase in the total number of authorized share (in shares)                 1,000,000,000.0        
Minimum | Common Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Corresponding increase in the total number of authorized share (in shares)                 1,000,000,000.0        
Maximum                          
Subsidiary or Equity Method Investee [Line Items]                          
Corresponding increase in the total number of authorized share (in shares)                 2,000,000,000.0        
Maximum | Common Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Corresponding increase in the total number of authorized share (in shares)                 2,000,000,000.0        
Securities Purchase Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Warrants outstanding (in shares)     100,000                    
Warrant Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Warrants outstanding (in shares)     2,200,000                   2,700,000
Warrant Agreement | RDO SPA Warrants                          
Subsidiary or Equity Method Investee [Line Items]                          
Warrants outstanding (in shares)     2,200,000                    
Purchase share price (in dollars per share) | $ / shares             $ 2.13            
Side Letter to the Wainwright Sales Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Manager commissions, percent of gross proceeds       3.00%                  
Sale of stock, percentage of additional fee       1.50%                  
Registered Direct Offering & Placement Agency Agreement | Warrant Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Purchase share price (in dollars per share) | $ / shares     $ 24.15                    
Corresponding increase in the total number of authorized share (in shares)     2,200,000                    
Registered Direct Offering & Placement Agency Agreement | Warrant Agreement | RDO SPA Warrants                          
Subsidiary or Equity Method Investee [Line Items]                          
Proceeds from issuance of warrants | $     $ 49,400                    
Securities Purchase Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Issuance of shares under the PPA, SPA , ATM, SEPA and PIPE | $           $ 1,600              
Series B Preferred Stock Purchase Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Preferred stock dividends accumulated but not declared and unpaid | $             $ 2,200            
Series B Preferred Stock Purchase Agreement | 7.5% Series B Cumulative Perpetual Redeemable Preferred Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Purchase share price (in dollars per share) | $ / shares             $ 2.13            
Preferred stock, shares authorized (in shares)   45,000                      
Dividend rate (in percentage)   7.50%                      
Preferred stock, par value per share (in dollars per share) | $ / shares   $ 0.0001                      
Preferred stock, stated value per share (in dollars per share) | $ / shares   $ 1,000                      
Series B Preferred Stock Purchase Agreement | Warrant Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Proceeds from issuance of warrants | $   $ 45,000                      
Series B Preferred Stock Purchase Agreement | Warrant Agreement | Common Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Warrants outstanding (in shares)   1,000,000.0                      
Series B Preferred Stock Purchase Agreement | Warrant Agreement | 7.5% Series B Cumulative Perpetual Redeemable Preferred Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Warrants outstanding (in shares)   1,000,000                      
Preferred stock, convertible, conversion price (in dollars per share) | $ / shares   $ 12.88                      
Preferred stock, convertible, conversion ratio   1.200                      
Preferred stock, liquidation preference, value | $             $ 47,200            
Series C Preferred Stock Purchaser                          
Subsidiary or Equity Method Investee [Line Items]                          
Dividends, preferred stock | $             200            
Series C Preferred Stock Purchaser | 7.5% Series C Cumulative Perpetual Redeemable Preferred Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Preferred stock, shares authorized (in shares) 10,000                        
Dividend rate (in percentage) 7.50%                        
Preferred stock, par value per share (in dollars per share) | $ / shares $ 0.0001                        
Preferred stock, stated value per share (in dollars per share) | $ / shares $ 1,000                        
Series C Preferred Stock Purchaser | Warrant Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Proceeds from issuance of warrants | $ $ 10,000                        
Series C Preferred Stock Purchaser | Warrant Agreement | 7.5% Series C Cumulative Perpetual Redeemable Preferred Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Warrants outstanding (in shares) 4,500,000                        
Preferred stock, convertible, conversion ratio 1.200                        
Preferred stock, liquidation preference (in percentage) 103.00% 103.00%                      
Preferred stock, liquidation preference, value | $             16,700            
Series C Preferred Stock Purchaser | Warrant Agreement | Minimum | 7.5% Series C Cumulative Perpetual Redeemable Preferred Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Floor price | $ / shares $ 2.00                        
Series C Preferred Stock Purchaser | Warrant Agreement | Maximum | 7.5% Series C Cumulative Perpetual Redeemable Preferred Stock                          
Subsidiary or Equity Method Investee [Line Items]                          
Floor price | $ / shares $ 2.24                        
Preferred Stock Purchase Agreement | Warrant Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Proceeds from issuance of warrants | $ $ 6,500                        
Corresponding increase in the total number of authorized share (in shares) 2,900,000                        
Warrants exercised in the period (in shares) 15,000,000                        
Issuance of shares under the PPA and SPA, net of offering costs (in shares) 6,500                        
Common Stock | At The Market Offering Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Sale of stock consideration | $         $ 200,000                
Additional Paid-in Capital | Securities Purchase Agreement                          
Subsidiary or Equity Method Investee [Line Items]                          
Issuance of shares under the PPA, SPA , ATM, SEPA and PIPE | $           $ 1,600 [1] $ 1,600            
[1] Periods presented have been adjusted to reflect the 1-for-23 reverse stock split on March 8, 2024. See Note 1- Organization and Basis of Presentation - Reverse Stock Split, for additional information.