DEBT (Details) - USD ($) $ in Thousands |
Dec. 31, 2016 |
Dec. 31, 2015 |
|---|---|---|
| Debt Instrument [Line Items] | ||
| Less long-term deferred financing costs | $ (840) | $ (440) |
| Long-term debt, total | 16,160 | 18,909 |
| Less current portion of long-term debt | (1,275) | (3,600) |
| Noncurrent portion of long-term debt | 14,885 | 15,309 |
| Note payable to Silicon Valley Bank, repaid in 2016 | ||
| Debt Instrument [Line Items] | ||
| Long-term debt, gross | 19,349 | |
| Note payable to Crystal Financial LLC, with interest at LIBOR plus Margin | ||
| Debt Instrument [Line Items] | ||
| Long-term debt, gross | 17,000 | |
| Long-term debt, total | $ 17,000 |