v3.22.0.1
CORPORATE BORROWINGS AND FINANCE LEASE OBLIGATIONS - First Lien Toggle Notes due 2026 (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Feb. 01, 2021
shares
Jan. 15, 2021
USD ($)
item
Dec. 14, 2020
USD ($)
$ / shares
shares
Jul. 31, 2020
USD ($)
item
Sep. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
shares
Dec. 31, 2019
USD ($)
Debt Instrument [Line Items]                
(Gain) loss on extinguishment of debt           $ 14,100 $ (93,600) $ 16,600
Principal amount           600,000    
Class A common stock                
Debt Instrument [Line Items]                
Consideration received for conversion | shares 46,103,784              
Mudrick Capital Management LP | Class A common stock                
Debt Instrument [Line Items]                
Number of shares issued | shares     21,978,022          
Consideration received for commitment fee | shares     8,241,758          
Fair value of common stock     $ 70,100          
Price per share (in dollars per share) | $ / shares     $ 3.19          
First Lien Toggle Notes due 2026                
Debt Instrument [Line Items]                
Exercised an option to repurchase         $ 35,000      
Repurchase amount         40,300      
Increase (decrease) in interest cost         $ 5,250      
(Gain) loss on extinguishment of debt           $ 14,400    
Aggregate principal amount   $ 100,000            
Stated interest rate (as a percent)           15.00% 15.00%  
PIK interest rate (as a percent)           17.00%    
Number of interest periods | item   3            
First Lien Toggle Notes due 2026 | Mudrick Capital Management LP                
Debt Instrument [Line Items]                
Stated interest rate (as a percent)   15.00%            
PIK interest rate (as a percent)   17.00%            
First Lien Toggle Notes due 2026 | Debt Agreement with Mudrick Capital Management, LP [Member]                
Debt Instrument [Line Items]                
Stated interest rate (as a percent)   15.00%            
PIK interest rate (as a percent)   17.00%            
First Lien Secured Notes Due 2026 | Class A common stock                
Debt Instrument [Line Items]                
Reclassified prepaid commitment fee and deferred charges           $ 28,600    
Second Lien Notes due 2026                
Debt Instrument [Line Items]                
Aggregate principal amount       $ 1,289,100   $ 173,200    
Stated interest rate (as a percent)       10.00%        
PIK interest rate (as a percent)       12.00%        
Number of interest periods | item       3        
Second Lien Notes due 2026 | Class A common stock                
Debt Instrument [Line Items]                
(Gain) loss on extinguishment of debt             $ (93,600)  
Consideration received for conversion | shares             137,400,000  
Principal amount             $ 104,500  
Fair value of common stock             $ 43,800  
Second Lien Notes due 2026 | Mudrick Capital Management LP                
Debt Instrument [Line Items]                
Consideration received for conversion | shares     13,736,264          
Principal amount     $ 104,500          
Second Lien Notes due 2026 | Mudrick Capital Management LP | Class A common stock                
Debt Instrument [Line Items]                
Principal amount     100,000          
Waived off PIK interest     $ 4,500