Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Schedule of Reconciliation of Derivative Liability (Details)

v3.8.0.1
Fair Value Measurements - Schedule of Reconciliation of Derivative Liability (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance $ (3,665) $ (598)
Issuances of derivatives (810)
Decrease in liability due to warrants being exercised
Change in fair value 2,182 24
Ending balance (2,293) (574)
Common Stock Warrants [Member]    
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance (3,665) (598)
Issuances of derivatives (810)
Decrease in liability due to warrants being exercised
Change in fair value 2,182 24
Ending balance (2,293) (574)
Convertible Notes [Member]    
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance  
Issuances of derivatives  
Decrease in liability due to warrants being exercised  
Change in fair value  
Ending balance  
Convertible Notes [Member]    
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Beginning balance  
Issuances of derivatives  
Decrease in liability due to warrants being exercised  
Change in fair value  
Ending balance