| RESTRUCTURING RELATED EXPENSES (Details) $ in Thousands | 1 Months Ended | 12 Months Ended | |
|---|---|---|---|
| Apr. 30, 2015  position | Dec. 31, 2016  USD ($) | Dec. 31, 2015  USD ($) | |
| Restructuring Cost and Reserve [Line Items] | |||
| Number of positions eliminated | position | 100 | ||
| Restructuring expenses | $ 200 | ||
| Other exit costs | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Restructuring reserve | $ 49 | ||
| Selling, General and Administrative Expenses | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Restructuring expenses | $ 3,300 | ||
| Selling, General and Administrative Expenses | Severance and termination benefits | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Restructuring expenses | 2,800 | ||
| Selling, General and Administrative Expenses | Other exit costs | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Restructuring expenses | $ 500 | ||
| X | ||||||||||
| 
- Definition The number of positions eliminated during the period as a result of restructuring activities. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| 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 | ||||||||||
| 
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |