DEBT (Detail Textuals) - USD ($) $ in Thousands |
|
|
12 Months Ended |
|
Mar. 15, 2016 |
May 05, 2014 |
Dec. 31, 2016 |
Dec. 31, 2015 |
| Debt Instrument [Line Items] |
|
|
|
|
| Loss on extinguishment of debt |
|
|
$ (290)
|
|
| Silicon Valley Bank | Term Loan |
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
| Interest rate applicable to amounts drawn |
|
2.75%
|
|
|
| Note payable to Crystal Financial LLC, with interest at LIBOR plus Margin |
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
| Long-term debt, gross |
|
|
17,000
|
|
| Note payable to Crystal Financial LLC, with interest at LIBOR plus Margin | Term Loan |
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
| Long-term debt, gross |
$ 17,000
|
|
|
|
| Amount of quarterly principal payments |
$ 600
|
|
|
|
| Prepayment penalty percentage prior to first anniversary |
3.00%
|
|
|
|
| Prepayment penalty percentage after first anniversary and before second anniversary |
2.00%
|
|
|
|
| Note payable to Crystal Financial LLC, with interest at LIBOR plus Margin | Silicon Valley Bank | Term Loan |
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
| Repayment of long-term debt from cash on hand |
$ 2,900
|
|
|
|
| Repayment of outstanding debt |
$ 19,400
|
|
|
|
| Loss on extinguishment of debt |
|
|
$ 300
|
|
| Interest rate applicable to amounts drawn |
|
|
9.50%
|
|