Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies (Details 1)

v3.7.0.1
Summary of Significant Accounting Policies (Details 1) - Fair Value, Inputs, Level 3 [Member] - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2017
Warrant Liability Current [Member]    
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Balance, beginning of period $ 1,238 $ 0
Issuances of warrants   2,453
Reclass of liability from long-term to current 1,846 1,846
Change in fair value 3,342 2,378
Transfer in and out (exercise of warrants) (4,003) (4,253)
Expiration of warrants (1,238) (1,238)
Balance, June 30, 2017 1,185 1,185
Warrant Liability Long-Term [Member]    
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Balance, beginning of period 1,846 0
Issuances of warrants   1,690
Reclass of liability from long-term to current (1,846) (1,846)
Change in fair value 0 (59)
Transfer in and out (exercise of warrants) 0 215
Expiration of warrants 0 0
Balance, June 30, 2017 0 0
Warrant Liabilty [Member]    
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]    
Balance, beginning of period 3,084 0
Issuances of warrants   4,143
Reclass of liability from long-term to current 0 0
Change in fair value 3,342 2,319
Transfer in and out (exercise of warrants) (4,003) (4,038)
Expiration of warrants (1,238) (1,238)
Balance, June 30, 2017 $ 1,185 $ 1,185