Quarterly report pursuant to Section 13 or 15(d)

Convertible Senior Notes Payable (Details)

v3.10.0.1
Convertible Senior Notes Payable (Details) - USD ($)
9 Months Ended
Sep. 30, 2018
Dec. 31, 2017
Debt Instrument [Line Items]    
Less: current portion $ 8,698,000 $ 5,994,000
Convertible Notes Payable [Member] | Principal [Member]    
Debt Instrument [Line Items]    
Balance, December 31, 2017 10,687,000  
Amortization of debt discount and offering costs  
2018 convertible senior secured notes issuance 1,328,000  
Discount for additional beneficial conversion feature  
Conversion into common shares (25,000)  
Balance, September 30, 2018 11,990,000  
Less: current portion (11,990,000)  
Long term portion  
Convertible Notes Payable [Member] | Debt Discount [Member]    
Debt Instrument [Line Items]    
Balance, December 31, 2017 (4,448,000)  
Amortization of debt discount and offering costs $ 6,027,000  
2018 convertible senior secured notes issuance (625,000)  
Discount for additional beneficial conversion feature $ (4,167,000)  
Conversion into common shares 11,000  
Balance, September 30, 2018 (3,202,000)  
Less: current portion 3,202,000  
Long term portion  
Convertible Notes Payable [Member] | Offering Costs [Member]    
Debt Instrument [Line Items]    
Balance, December 31, 2017 (245,000)  
Amortization of debt discount and offering costs $ 231,000  
2018 convertible senior secured notes issuance (76,000)  
Discount for additional beneficial conversion feature  
Conversion into common shares  
Balance, September 30, 2018 (90,000)  
Less: current portion 90,000  
Long term portion  
Convertible Notes Payable [Member] | Net Total [Member]    
Debt Instrument [Line Items]    
Balance, December 31, 2017 5,994,000  
Amortization of debt discount and offering costs $ 6,258,000  
2018 convertible senior secured notes issuance 627,000  
Discount for additional beneficial conversion feature $ (4,167,000)  
Conversion into common shares (14,000)  
Balance, September 30, 2018 8,698,000  
Less: current portion (8,698,000)  
Long term portion