Quarterly report pursuant to Section 13 or 15(d)

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

v3.3.0.814
Fair Value Measurements - Reconciliation of Derivative Liability Measured At Fair Value on Recurring Basis Using Significant Unobservable Inputs (Level 3) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2015
Sep. 30, 2014
Sep. 30, 2015
Sep. 30, 2014
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]        
Change in fair value of derivative liabilities $ 7,779 $ (1,887) $ 8,879 $ (1,325)
September 2015 Offering        
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items]        
Change in fair value of derivative liabilities     9,500  
Warranty Liability        
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance     (13,970) (210)
Issuances of derivatives     (14,556) (3,165)
Modification of terms     (382)  
Reclassification from liability to equity       5
Decrease in liability due to debt conversions     179  
Decrease in liability due to warrants being exercised     10,326  
Extinguishment of derivatives     3,468  
Decrease in liability due to warrants being exercised     652 1,325
Ending balance (14,283) (2,045) (14,283) (2,045)
Warranty Liability | Conversion Feature of Note        
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance     (2,612)  
Issuances of derivatives     0 (1,930)
Modification of terms     0  
Decrease in liability due to debt conversions     179  
Extinguishment of derivatives     3,468  
Decrease in liability due to warrants being exercised     (1,035) 12
Ending balance 0 (1,918) 0 (1,918)
Warranty Liability | Common Stock        
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance     (11,358) (199)
Issuances of derivatives     (14,556) (1,235)
Modification of terms     (382)  
Reclassification from liability to equity       0
Decrease in liability due to debt conversions     0  
Decrease in liability due to warrants being exercised     10,326  
Extinguishment of derivatives     0  
Decrease in liability due to warrants being exercised     1,687 1,307
Ending balance $ (14,283) (127) (14,283) (127)
Warranty Liability | Preferred Stock        
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance     0 (11)
Modification of terms     0  
Reclassification from liability to equity       5
Decrease in liability due to debt conversions     0  
Decrease in liability due to warrants being exercised     0  
Extinguishment of derivatives     0  
Decrease in liability due to warrants being exercised     $ 0 6
Ending balance   $ 0   $ 0