| LONG-TERM DEBT AND COMMON STOCK WARRANT LIABILITY - Prior Credit Facilities Narrative (Details) - Line of Credit | 12 Months Ended | |
|---|---|---|
| May 13, 2016 | Dec. 31, 2017 | |
| Capital One Bank | First Lien Credit Facility | ||
| Debt Instrument [Line Items] | ||
| Minimum base rate | 1.00% | |
| Applicable margin rate | 4.25% | |
| Term Loan | Abc Funding LLC | Second Lien Term Loan | ||
| Debt Instrument [Line Items] | ||
| Interest rate | 13.50% | |
| Prepayment penalty | 2.00% | 
| X | ||||||||||
| 
- Definition Debt Instrument, Interest Rate, Base Rate No definition available. 
 | 
| X | ||||||||||
| 
- Definition Line of Credit Facility, Prepayment Penalty No definition available. 
 | 
| X | ||||||||||
| 
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Contractual interest rate for funds borrowed, under the debt agreement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |