Annual report pursuant to Section 13 and 15(d)

Equity (Details Narrative)

v3.7.0.1
Equity (Details Narrative) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Jul. 08, 2016
Nov. 30, 2016
Jul. 31, 2016
Nov. 30, 2015
Sep. 30, 2015
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Common stock, issued             27,364,881 10,886,248
Preferred stock, issued             0 0
Proceeds from issuance of warrants             $ 447 $ 5,863
Proceeds from issuance of common stock             4,702 4,337
Additional paid in capital allocated for common stock             2,500  
Additional paid in capital allocated for warrants             2,200  
Beneficial conversion feature             1,138  
Proceeds from issuance of preferred stock             6,706
Effective conversion rate $ 0.88              
Fair value of excess carrying value per shares $ 0.38              
Fair value of excess carrying value $ 2,500              
Number of common stock received               131
Fair value adjustment of warrants              
Change in fair value of derivative liabilities             (70) 7,605
Settlement Agreement and Release [Member]                
Number of common stock received   $ 794            
Common stock shares, issued   962,380            
Class A Units [Member]                
Proceeds from issuance of common stock             4,700  
Placement agent fees and offering expenses             600  
Class B Units [Member]                
Proceeds from issuance of warrants             3,100  
Proceeds from issuance of common stock             $ 6,700  
Net issuance costs             $ 0.7  
Proceeds from issuance of preferred stock             $ 3,600  
Convertible Preferred Stock [Member]                
Beneficial conversion feature             $ 6,300  
Common Stock [Member]                
Effective conversion rate             $ 0.50  
Secondary Offering [Member]                
Class of unit description     Each Class A Unit consisted of one share of common stock and one warrant to purchase one share of common stock. Each Class B Unit consisted of one share of preferred stock convertible into 1,000 shares of common stock and warrants to purchase 1,000 shares of common stock.          
Proceeds from issuance of warrants     $ 11,400          
Secondary Offering [Member] | Class A Units [Member]                
Number of units sold     5,258,000          
Price per unit     $ 1.00          
Convertible preferred stock shares conversion     1,000          
Warrants purchase of common stock shares     1,000          
Secondary Offering [Member] | Class A Units [Member] | Underwriters [Member]                
Number of units sold     1,650,000          
Secondary Offering [Member] | Class B Units [Member] | Underwriters [Member]                
Number of units sold     7,392          
Price per unit     $ 1,000          
September 2015 Offering [Member]                
Proceeds from issuance of common stock         $ 5,000      
Effective conversion rate         $ 5.72      
Placement agent fees and offering expenses         $ 663   $ 821  
Fair value adjustment of warrants         $ 9,500     9,500
Common stock shares, issued         874,891      
September 2015 Offering [Member] | Placement Agent [Member]                
Effective conversion rate             $ 7.05  
Outstanding warrants exercisable             43,745  
Fair value adjustment of warrants             $ 157  
Other Issuances [Member]                
Stock issued for service             18,000  
Restricted common stock issued             56,891  
Shares issued during period             $ 120  
Shares withheld             13,789  
Common Stock [Member]                
Beneficial conversion feature              
Number of common stock received               9
Placement agent fees and offering expenses             $ 601 $ 601
Common stock shares, issued               874,891
Number of shares issued upon cashless exercise warrants               647
Common Stock [Member] | Secondary Offering [Member]                
Common stock, issued     5,258,000          
Preferred Stock [Member]                
Convertible preferred stock shares conversion             7,392,000  
Preferred stock, issued             7,392  
Beneficial conversion feature              
Number of common stock received              
Placement agent fees and offering expenses           $ 641 $ 641  
Common stock shares, issued              
Preferred Stock [Member] | Secondary Offering [Member]                
Convertible preferred stock shares conversion     7,392,000          
Preferred stock, issued     7,392          
Warrants [Member] | Secondary Offering [Member]                
Price per unit     $ 1.00          
Warrants purchase of common stock shares     12,650,000          
Convertible Preferred Stock [Member] | Secondary Offering [Member]                
Convertible preferred stock shares conversion             7,392,000  
Preferred stock, issued             7,392  
Fair value of excess carrying value             $ 447,000  
Number of common stock received             $ 446,500  
Common stock shares, issued             446,500  
Series A Warrants [Member]                
Common stock shares, issued             536,388  
Number of shares issued upon cashless exercise warrants             1,137,365  
Series A Warrants [Member] | September 2015 Offering [Member]                
Proceeds from issuance of warrants             $ 4,900  
Placement agent fees and offering expenses             $ 585  
Warrants converted into shares of common stock             1,315,781  
Warrants exercised             3,924,687  
Change in number of warrants             962,969  
Class of warrant outstanding             1,237,365  
Warrants expiration date             Dec. 11, 2020  
Fair value adjustment of warrants             $ 14,400  
Gross proceeds from offering             5,000  
Proceeds from issuance of common stock, net of issuance costs             131  
Change in fair value of derivative liabilities             $ 9,500  
Series A Warrants [Member] | September 2015 Offering [Member] | Minimum [Member]                
Price per unit       $ 1.50        
Change in number of warrants       3,324,192        
Series A Warrants [Member] | September 2015 Offering [Member] | Maximum [Member]                
Price per unit       $ 7.05        
Change in number of warrants       4,199,082        
Series A Warrants [Member] | September 2015 Offering [Member] | Investors [Member]                
Outstanding warrants exercisable         874,891      
Series B Warrants [Member] | September 2015 Offering [Member]                
Proceeds from warrant exercises       $ 5,000        
Warrants converted into shares of common stock       3,324,192        
Warrants exercised       874,891        
Series B Warrants [Member] | September 2015 Offering [Member] | Investors [Member]                
Outstanding warrants exercisable         874,891      
Series C Warrants [Member] | September 2015 Offering [Member]                
Price per unit       $ 1.50        
Proceeds from warrant exercises       $ 1,400        
Warrants converted into shares of common stock       962,969        
Warrants exercised       962,969        
Change in number of warrants       1,093,613        
Class of warrant outstanding       130,644        
Warrants expiration date       Dec. 30, 2015        
Series C Warrants [Member] | September 2015 Offering [Member] | Investors [Member]                
Outstanding warrants exercisable         874,891      
Other Warrants [Member]                
Warrants converted into shares of common stock             17  
Riverside [Member]                
Number of shares issued upon cashless exercise warrants             1,882,718