Annual report pursuant to Section 13 and 15(d)

Debt (Details Narrative)

v3.19.1
Debt (Details Narrative)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Oct. 02, 2018
May 14, 2018
USD ($)
$ / shares
Jan. 03, 2018
USD ($)
$ / shares
Jul. 28, 2017
USD ($)
$ / shares
shares
Jun. 30, 2014
Jan. 31, 2018
USD ($)
Integer
$ / shares
shares
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Sep. 07, 2018
$ / shares
Jan. 31, 2017
$ / shares
Sep. 30, 2014
USD ($)
Debt principal amount             $ 3,105      
Warrant exercise price per share | $ / shares                   $ 6.60  
Percentage of loan bear interest rate             10.00%        
Debt instrument, description The 36-month term of the note receivable requires 18 payments of $138,889 followed by 18 payments of $194,444, with maturing of the note receivable on October 1, 2021.                    
Total payoff amount             $ 2,282 6,816      
Debt maturity date             Oct. 01, 2021        
Debt instrument conversion price | $ / shares   $ 1.45             $ 0.48    
North Stadium Investments, LLC [Member]                      
Debt principal amount       $ 2,500              
Warrant to purchase shares of common stock | shares       55,000              
Warrant exercise price per share | $ / shares       $ 5.04              
Percentage of loan bear interest rate       10.00%              
Debt maturity date       Jul. 28, 2018              
Warrant term       5 years              
Fair value of warrants       $ 200              
Hercules Technology Capital, Inc. [Member] | Loan and Security Agreement [Member]                      
Debt principal amount                     $ 20,000
Debt maturity date         Jan. 01, 2018            
L2 Capital Debt [Member]                      
Debt principal amount   $ 700       $ 840          
Debt purchase price           $ 750          
Warrant to purchase shares of common stock | shares           68,257          
Warrant exercise price per share | $ / shares           $ 3.31          
Percentage of loan bear interest rate           8.00%          
Percentage of default interest rate           18.00%          
Debt trading per share | $ / shares           $ 0.70          
Debt instrument trading days | Integer           20          
Debt instrument, description           (i) 0.70 multiplied by (ii) the lowest volume weighted average price, or VWAP, of the Company's common stock during the 20-day trading period ending in the Holder's sole discretion on the last complete trading day prior to conversion, or, the conversion date.          
Gross proceeds of convertible preferred stock and warrants   15,000                  
Total payoff amount   1,100                  
Interest amount   400                  
Hercules Term Loan [Member]                      
Debt principal amount     $ 2,300       $ 605      
Hercules Term Loan [Member] | Closing Date [Member]                      
Term loan fee amount             200        
Final payment fee for debt             $ 1,700        
Hercules Term Loan [Member] | Senior Secured Convertible Promissory Notes One [Member]                      
Debt principal amount     1,100                
Hercules Term Loan [Member] | Senior Secured Convertible Promissory Notes Two [Member]                      
Debt principal amount     $ 2,200                
Exchange Notes [Member]                      
Percentage of loan bear interest rate     15.00%                
Debt trading per share | $ / shares     $ 1.75                
Debt instrument, description     (i) in no event was the Alternate Conversion Price less than $1.75 per share and (ii) the Assignees were not entitled to receive more than 19.99% of the outstanding Common Stock. So long as these Exchange Notes remained outstanding or the Assignees held any Conversion Shares, the Company was prohibited from entering into any financing transaction pursuant to which the Company sell its securities at a price lower than $1.75 per share. The Exchange Notes were secured by a first priority security interest in substantially all of the Company assets, including intellectual property, and contains covenants restricting payments to certain of our affiliates.                
Debt maturity date     Feb. 03, 2019                
Debt instrument conversion price | $ / shares     $ 3.87                
Debt instrument trading percentage     70.00%                
MEF I, L.P. and Anson Investments [Member]                      
Debt principal amount   1,400                  
Gross proceeds of convertible preferred stock and warrants   15,000                  
Total payoff amount   1,600                  
Interest amount   $ 200