Annual report pursuant to Section 13 and 15(d)

LONG-TERM DEBT AND WARRANT LIABILITY - Schedule of Long-Term Debt (Details)

v3.21.1
LONG-TERM DEBT AND WARRANT LIABILITY - Schedule of Long-Term Debt (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Debt Instrument [Line Items]    
Total debt obligations $ 382,040 $ 495,479
Less: current portion of long-term debt (19,442) (4,007)
Less: unamortized debt discounts and deferred financing costs (4,725) (5,894)
Total long-term debt, net $ 357,873 $ 485,578
Line of Credit | Syndicate of Lenders    
Debt Instrument [Line Items]    
Actual interest rate 6.65% 6.71%
Line of Credit | Goldman Sachs Specialty Lending Group    
Debt Instrument [Line Items]    
Actual interest rate 12.50% 10.50%
Line of Credit | Revolving Credit Facility | Syndicate of Lenders    
Debt Instrument [Line Items]    
Total debt obligations $ 0  
Line of Credit | LIBOR | Syndicate of Lenders    
Debt Instrument [Line Items]    
Applicable margin 6.50% 5.00%
Line of Credit | Payment-in-Kind Interest Rate | Goldman Sachs Specialty Lending Group    
Debt Instrument [Line Items]    
Applicable margin 5.00% 5.00%
Senior Term Loan, Maturing January 3, 2023 | Senior Notes | Syndicate of Lenders    
Debt Instrument [Line Items]    
Interest rate, LIBOR floor 1.00%  
Actual interest rate 7.50% 6.71%
Total debt obligations $ 279,417 $ 388,837
Senior Term Loan, Maturing January 3, 2023 | Senior Notes | LIBOR | Syndicate of Lenders    
Debt Instrument [Line Items]    
Applicable margin 6.50% 5.00%
Senior Term Loan, Maturing January 3, 2023 | Line of Credit | Revolving Credit Facility | Syndicate of Lenders    
Debt Instrument [Line Items]    
Total debt obligations $ 0 $ 11,500
Senior Term Loan, Maturing January 3, 2023 | Line of Credit | Letter of Credit | Syndicate of Lenders    
Debt Instrument [Line Items]    
Total debt obligations 25,000 25,000
Subordinated Term Loan, Maturing July 3, 2023 | Subordinated Debt | Goldman Sachs Specialty Lending Group    
Debt Instrument [Line Items]    
Total debt obligations $ 102,623 $ 95,142