Annual report pursuant to Section 13 and 15(d)

Debt - Schedule of Future Principal Payments on Debt (Details)

v3.8.0.1
Debt - Schedule of Future Principal Payments on Debt (Details) - USD ($)
$ in Thousands
Dec. 31, 2016
Dec. 31, 2015
Line of Credit Facility [Line Items]    
Total future principal payments $ 7,012 $ 16,365
Hercules Term Loan [Member]    
Line of Credit Facility [Line Items]    
Total future principal payments 7,012 $ 15,631
Hercules Term Loan [Member] | Convertible Notes Payable [Member]    
Line of Credit Facility [Line Items]    
2017, net 6,779  
2018, net 642  
Total future principal payments $ 7,421