v3.23.2
Long-Term Debt and Other Financing Arrangements - Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 4 Months Ended 6 Months Ended 12 Months Ended 17 Months Ended
Mar. 31, 2023
Feb. 28, 2023
Nov. 30, 2022
Feb. 28, 2022
Jun. 30, 2023
Mar. 31, 2023
Mar. 31, 2023
Jun. 30, 2023
Jun. 30, 2022
Dec. 31, 2022
Jun. 30, 2023
Apr. 30, 2023
Dec. 31, 2021
Nov. 30, 2019
Debt Instrument [Line Items]                            
Debt instrument, principal amount         $ 375,679     $ 375,679   $ 202,788 $ 375,679      
Partnership agreement, minimum liquidity requirement         30,000     30,000     30,000      
Loss on debt extinguishment               10,194 $ 0          
Purchase agreement interest rate       7.00%     10.50%              
Confirmed invoices paid during the periods         $ 62,100     $ 59,575   $ 14,000 $ 76,100      
Interest expense, vendor financing $ 2,500         $ 2,500 $ 2,500              
Preferred stock, shares issued (in shares)         0     0   0 0      
Preferred stock         $ 0     $ 0   $ 0 $ 0      
Series A Preferred Convertible Stock                            
Debt Instrument [Line Items]                            
Preferred stock, shares issued (in shares)     149,425   149,425     149,425   149,425 149,425      
Preferred stock, dividend rate, percentage               7.00%            
Preferred stock, liquidation preference (in USD per share)     $ 1,000                      
Preferred stock     $ 105,300   $ 0     $ 0   $ 0 $ 0      
Series A Preferred Convertible Stock | Related Party                            
Debt Instrument [Line Items]                            
Preferred stock, dividend rate, percentage               7.00%            
Embedded derivative within 2023 Funding Agreement                            
Debt Instrument [Line Items]                            
Partnership agreement, prepayment receivable   $ 252,000                        
Debt instrument, percentage funded by partner   50.00%                        
Debt instrument, principal amount   $ 87,729     87,729     $ 87,729   0 87,729 $ 87,700    
Partnership agreement, minimum liquidity requirement   $ 30,000                        
2021 Funding Agreement                            
Debt Instrument [Line Items]                            
Debt instrument, principal amount         87,950     87,950   0 87,950   $ 94,200  
2023 13% Notes                            
Debt Instrument [Line Items]                            
Debt instrument, principal amount $ 200,000       $ 200,000 $ 200,000 $ 200,000 $ 200,000   0 $ 200,000      
Loan interest rate 13.00%       13.00% 13.00% 13.00% 13.00%     13.00%      
Issue price, percentage of principal 95.00%         95.00% 95.00%              
Financing costs $ 7,800                          
Interest rate, payable in cash 4.00%         4.00% 4.00%              
Interest rate, payable in-kind 9.00%         9.00% 9.00%              
Interest rate agreed upon, payable in cash 6.50%         6.50% 6.50%              
Interest rate, payable in-kind 6.50%         6.50% 6.50%              
2023 13% Notes | Prior to March 15, 2025                            
Debt Instrument [Line Items]                            
Redemption price, percentage 100.00%                          
2023 13% Notes | Beginning On The First Call Date                            
Debt Instrument [Line Items]                            
Redemption price, percentage 103.00%                          
2023 13% Notes | After March 15, 2027                            
Debt Instrument [Line Items]                            
Redemption price, percentage 100.00%                          
2023 13% Notes | Event Of A Change Of Control                            
Debt Instrument [Line Items]                            
Redemption price, percentage 101.00%                          
2019 Facility Agreement                            
Debt Instrument [Line Items]                            
Debt instrument, principal amount         $ 0     $ 0   $ 143,213 $ 0     $ 199,000
Loan interest rate                           14.00%
Extinguishment of debt $ 148,000   $ 149,400                      
Loss on debt extinguishment           $ 10,400