Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Schedule of Reconciliation of Derivative Liability Measured on Recurring Basis Using Unobservable Inputs (Level 3) (Details)

v3.5.0.2
Fair Value Measurements - Schedule of Reconciliation of Derivative Liability Measured on Recurring Basis Using Unobservable Inputs (Level 3) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2016
Jun. 30, 2015
Jun. 30, 2016
Jun. 30, 2015
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Change in fair value $ (35) $ 923 $ (24) $ 1,100
Derivative Financial Instruments, Liabilities [Member]        
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Beginning balance     (598) (13,970)
Decrease in liability due to debt conversions       179
Decrease in liability due to warrants being exercised       10,302
Change in fair value       (1,100)
Decrease in fair value included in earnings, as other income     24  
Ending balance (574) (4,589) (574) (4,589)
Derivative Financial Instruments, Liabilities [Member] | Common Stock Warrants [Member]        
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Beginning balance     (598) (11,358)
Decrease in liability due to debt conversions      
Decrease in liability due to warrants being exercised       10,302
Change in fair value       208
Decrease in fair value included in earnings, as other income     24  
Ending balance (574) (848) (574) (848)
Derivative Financial Instruments, Liabilities [Member] | Convertible Notes [Member]        
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Beginning balance     (2,612)
Decrease in liability due to debt conversions       179
Decrease in liability due to warrants being exercised      
Change in fair value       (1,308)
Decrease in fair value included in earnings, as other income      
Ending balance $ (3,741) $ (3,741)