Annual report pursuant to Section 13 and 15(d)

Debt - Schedule of Outstanding Long-Term Debt (Details)

v3.7.0.1
Debt - Schedule of Outstanding Long-Term Debt (Details) - USD ($)
$ in Thousands
Dec. 31, 2016
Dec. 31, 2015
Debt Instrument [Line Items]    
Total debt, outstanding principal $ 7,421 $ 17,814
Total debt, unamortized discount (409) (1,449)
Total debt, net carrying amount 7,012 16,365
Current portion, outstanding principal (7,421) (17,814)
Current portion, unamortized discount 409 1,449
Current portion, net carrying amount (7,012) (16,365)
Long-term debt, outstanding principal
Long-term debt, unamortized discount
Long-term debt 11,888 21,630
Hercules Term Loan [Member]    
Debt Instrument [Line Items]    
Total debt, outstanding principal 7,421 17,051
Total debt, unamortized discount (409) (1,420)
Total debt, net carrying amount 7,012 15,631
Convertible Notes [Member]    
Debt Instrument [Line Items]    
Total debt, outstanding principal
Total debt, unamortized discount
Total debt, net carrying amount
Magna Note [Member]    
Debt Instrument [Line Items]    
Total debt, outstanding principal 763
Total debt, unamortized discount (29)
Total debt, net carrying amount $ 734