Annual report pursuant to Section 13 and 15(d)

BORROWINGS - 2019 Term Loan (Details)

v3.20.4
BORROWINGS - 2019 Term Loan (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 02, 2020
Mar. 23, 2020
Mar. 22, 2020
May 23, 2019
Dec. 31, 2020
Dec. 31, 2019
Jul. 16, 2019
Short-term Debt [Line Items]              
Common stock value per share (in usd per share)         $ 0.01 $ 0.01  
Principal repayment obligation and other fees         $ 119,217 $ 144,955  
2019 Term Loan              
Short-term Debt [Line Items]              
Principal repayment obligation and other fees         $ 43,217 $ 84,955  
2019 Term Loan | Loans Payable              
Short-term Debt [Line Items]              
Repayments of debt principal   $ 19,100          
Number of common stock to be issued related to debt amendment (in shares)   9,300,000          
Principal repayment obligation and other fees   $ 15,000          
Second Amendment Of 2019 Term Loan | Loans Payable              
Short-term Debt [Line Items]              
Debt interest rate (as a percentage)   16.00%          
Paid-in-kind interest rate may add in per annum (as a percentage)   8.00%          
Required principal payment   $ 3,000          
Debt required collateral amount   $ 12,000          
Number of common stock issued for relief of debt final payment fee (in shares)     11,000,000.0        
Repayments of debt principal     $ 11,000        
Second Amendment Of 2019 Term Loan | Loans Payable | Original Warrant              
Short-term Debt [Line Items]              
Common stock purchase price (in dollars per share)   $ 10.00          
Third Amendment Of 2019 Term Loan | Loans Payable              
Short-term Debt [Line Items]              
Issuance of stock         (2,400,000)    
Increase in debt issuance discount   $ 6,000          
Fourth Amendment Of 2019 Term Loan | Loans Payable              
Short-term Debt [Line Items]              
Repayments of debt principal $ 1,000            
Loans Payable | 2019 Term Loan              
Short-term Debt [Line Items]              
Principal amount       $ 60,000      
Additional borrowing amount             $ 15,000
Debt interest rate (as a percentage)       12.00%      
Paid-in-kind interest rate may add in per annum (as a percentage)       4.00%      
Final payment fee (as a percentage)       20.00%      
Deferred financing costs       $ 2,200      
Debt required collateral amount       $ 30,000      
Loans Payable | 2019 Term Loan | Original Warrant              
Short-term Debt [Line Items]              
Issuance of stock       1,500,000      
Common stock purchase price (in dollars per share)       $ 10.00