Quarterly report pursuant to Section 13 or 15(d)

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

v3.5.0.2
Debt - Schedule of Future Principal Payments on Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2016
Dec. 31, 2015
Line of Credit Facility [Line Items]    
Total future principal payments $ 11,150 $ 16,365
Convertible Notes Payable [Member]    
Line of Credit Facility [Line Items]    
2016 3,874  
2017 6,858  
2018 1,359  
Total future principal payments 12,091  
Hercules Term Loan [Member]    
Line of Credit Facility [Line Items]    
Total future principal payments 9,922 15,631
Hercules Term Loan [Member] | Convertible Notes Payable [Member]    
Line of Credit Facility [Line Items]    
2016 3,111  
2017 6,858  
2018 659  
Total future principal payments 10,628  
Magna Note [Member]    
Line of Credit Facility [Line Items]    
Total future principal payments 759 $ 734
Magna Note [Member] | Convertible Notes Payable [Member]    
Line of Credit Facility [Line Items]    
2016 763  
2017  
2018  
Total future principal payments 763  
Riverside Note [Member] | Convertible Notes Payable [Member]    
Line of Credit Facility [Line Items]    
2016  
2017  
2018 700  
Total future principal payments $ 700