XML 51 R40.htm IDEA: XBRL DOCUMENT v3.7.0.1
Convertible Notes Payable - Additional Information (Details)
$ / shares in Units, shares in Millions
1 Months Ended 3 Months Ended 6 Months Ended
Apr. 02, 2017
USD ($)
Jun. 13, 2016
Jun. 06, 2016
USD ($)
Installment
$ / shares
shares
Dec. 31, 2016
USD ($)
Jun. 30, 2017
USD ($)
Mar. 31, 2017
USD ($)
Jun. 30, 2016
USD ($)
Jun. 30, 2017
USD ($)
Jun. 30, 2016
USD ($)
May 09, 2017
$ / shares
Apr. 10, 2017
$ / shares
Mar. 13, 2017
$ / shares
Mar. 02, 2017
$ / shares
Feb. 10, 2017
$ / shares
Feb. 01, 2017
$ / shares
Jan. 12, 2017
$ / shares
Debt Instrument [Line Items]                                
Gain on warrant extinguishment         $ 9,613,000   $ 0 $ 9,613,000 $ 0              
Warrant liability fair value adjustment         38,000   1,181,000 (1,200,000) (491,000)              
Debt instrument, conversion price | $ / shares                   $ 0.05 $ 0.06 $ 0.11 $ 0.14 $ 0.20 $ 0.32 $ 0.36
Securities Purchase Agreement [Member] | Warrant Repurchase Agreements [Member]                                
Debt Instrument [Line Items]                                
Aggregate amount to be paid in exchange for cancellation of warrants $ 7,900,000                              
Gain on warrant extinguishment 9,600,000                              
Warrant liability fair value adjustment $ 17,500,000                              
Senior Secured Convertible Notes [Member]                                
Debt Instrument [Line Items]                                
Debt instrument, principal face amount         18,853,000   $ 35,000,000 18,853,000 35,000,000              
Debt discount on senior notes         6,256,000     6,256,000                
Senior Secured Convertible Notes [Member] | Securities Purchase Agreement [Member]                                
Debt Instrument [Line Items]                                
Debt instrument, principal face amount     $ 35,000,000                          
Debt discount on senior notes     2,800,000   $ 35,000,000     $ 35,000,000                
Interest rate upon default         0.00%     0.00%                
Rate of interest in event of default               15.00%                
Debt instrument interest rate computation terms               The Notes do not bear any ordinary interest. However, interest shall commence accruing immediately upon the occurrence of, and shall continue accruing during the continuance of, an Event of Default, at 15% per annum and shall be computed on the basis of a 360-day year of twelve 30-day months and shall be payable                
Proceeds from issuance of notes available for general corporate purposes     $ 3,000,000 $ 3,000,000   $ 6,600,000                    
Cash held in the restricted accounts         $ 11,800,000     $ 11,800,000                
Amortization payments number of equal installments | Installment     14                          
Period after original date of issuance of notes for which amortization payment begins   7 months                            
Debt instrument, original issuance date               Jun. 13, 2016                
Debt instrument, conversion price | $ / shares     $ 4.39                          
Debt discount amortization               $ 28,700,000                
Beneficial conversion feature               4,400,000                
Debt instrument, put options issued on default and change in control, value         0     0                
Debt issuance costs         $ 1,600,000     1,600,000                
Amortization of debt issuance costs               800,000                
Senior Secured Convertible Notes [Member] | Securities Purchase Agreement [Member] | Restricted Cash [Member]                                
Debt Instrument [Line Items]                                
Proceeds from issuance of notes and warrants               11,800,000                
Series C Warrants [Member]                                
Debt Instrument [Line Items]                                
Aggregate amount to be paid in exchange for cancellation of warrants               $ 7,876,000 $ 0              
Series C Warrants [Member] | Securities Purchase Agreement [Member]                                
Debt Instrument [Line Items]                                
Additional issuance of common stock purchase price per share. | $ / shares     $ 0.01                          
Series C Warrants [Member] | Senior Secured Convertible Notes [Member] | Securities Purchase Agreement [Member]                                
Debt Instrument [Line Items]                                
Proceeds from issuance of notes and warrants     $ 32,200,000                          
Debt discount on senior notes     $ 27,800,000                          
Shares issuable upon warrants exercised | shares     6.8