LEASES, COMMITMENTS AND CONTINGENCIES - Summary of future minimum lease payments under such non-cancelable operating leases (Details) $ in Thousands |
Dec. 31, 2016
USD ($)
|
|---|---|
| Lease contract | Property and equipment | |
| Operating Leased Assets [Line Items] | |
| 2017 | $ 1,785 |
| 2018 | 1,489 |
| 2019 | 1,233 |
| 2020 | 1,172 |
| 2021 | 1,160 |
| Thereafter | 870 |
| Future minimum lease payments | 7,709 |
| Sub lease contract | Office space | |
| Operating Leased Assets [Line Items] | |
| 2017 | 244 |
| 2018 | 249 |
| 2019 | 256 |
| 2020 | 262 |
| 2021 | 269 |
| Thereafter | 205 |
| Future minimum lease payments | $ 1,485 |