XML 38 R27.htm IDEA: XBRL DOCUMENT v3.7.0.1
DEBT (Tables)
6 Months Ended
Jun. 30, 2017
Debt Disclosure [Abstract]  
Schedule of long-term debt instruments
The following table presents long-term debt as of June 30, 2017 (in thousands):
 
June 30, 2017
 
December 31, 2016
Loan due September 2018
$
35,500

 
35,500

Unamortized debt issuance cost
(129
)
 
(175
)
Carrying value of Loan
35,371

 
35,325

Exit fee payable in relation to Loan
2,500

 
2,500

Convertible promissory note payable to an accredited investor

 
100

Total long-term debt
$
37,871

 
$
37,925

Less: current portion
(37,871
)
 
(100
)
Long-term debt, less current portion and net of debt issuance cost

 
37,825