RECENTLY ADOPTED ACCOUNTING STANDARDS IMPACTS OF ADOPTON ASC 606 ON THE CONSOLIDATED BALANCE SHEET (Details) - USD ($) $ in Thousands |
Dec. 31, 2018 |
Dec. 31, 2017 |
|---|---|---|
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | ||
| Trade receivables, net | $ 25,161 | $ 17,777 |
| Prepaid expenses and other current assets | 4,332 | 6,088 |
| Retained deficit | $ (232,068) | (243,851) |
| Previously Reported [Member] | ||
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | ||
| Trade receivables, net | 15,076 | |
| Prepaid expenses and other current assets | 9,252 | |
| Retained deficit | (243,388) | |
| Accounting Standards Update 2014-09 [Member] | Restatement Adjustment [Member] | ||
| New Accounting Pronouncements or Change in Accounting Principle [Line Items] | ||
| Trade receivables, net | 2,701 | |
| Prepaid expenses and other current assets | (3,164) | |
| Retained deficit | $ 463 |