Annual report pursuant to Section 13 and 15(d)

STOCKHOLDERS' EQUITY (Details)

v3.7.0.1
STOCKHOLDERS' EQUITY (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Sep. 14, 2016
Apr. 25, 2016
Dec. 31, 2016
Dec. 31, 2015
Class of Stock [Line Items]        
Common stock, shares authorized     47,000,000 47,000,000
Net proceeds from the sale of common stock from private placement offering     $ 5,177 $ 0
Sales of common stock, net of offering costs     15,798  
Maximum aggregate proceeds from public offerings     $ 35,000  
Preferred stock, shares authorized     3,000,000 3,000,000
Capital Units        
Class of Stock [Line Items]        
Sales of common stock, net of offering costs (in shares)     2,715,000  
Sales of common stock, net of offering costs     $ 11,500  
Securities available for issuance     $ 23,500  
Capital Units | Investors, Executives and Board Members        
Class of Stock [Line Items]        
Sales of common stock, net of offering costs (in shares)   1,996,880    
Share price (in dollars per share)   $ 2.985    
Net proceeds from the sale of common stock from private placement offering   $ 6,000    
Sales of common stock, net of offering costs   $ 5,200    
Capital Units | Placement agents        
Class of Stock [Line Items]        
Sales of common stock, net of offering costs (in shares)   99,844    
Share price (in dollars per share)   $ 2.86    
Common Stock        
Class of Stock [Line Items]        
Sales of common stock, net of offering costs (in shares) 2,715,000   4,711,880  
Share price (in dollars per share) $ 4.25      
Sales of common stock, net of offering costs     $ 5  
Common Stock | Placement agents        
Class of Stock [Line Items]        
Sales of common stock, net of offering costs (in shares) 135,750      
Investment warrants, exercise price $ 4.25      
Period end after closing     2 years  
Common stock warrants        
Class of Stock [Line Items]        
Net proceeds from the sale of common stock from private placement offering $ 11,500      
Common stock warrants | Investors, Executives and Board Members        
Class of Stock [Line Items]        
Investment warrants, exercise price   $ 2.86    
Period start after closing   6 months    
Period end after closing   36 months    
Sales of common stock, net of offering costs $ 10,600