Annual report pursuant to Section 13 and 15(d)

Debt (Details Narrative)

v3.3.1.900
Debt (Details Narrative) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2015
Dec. 30, 2015
Nov. 18, 2015
Sep. 08, 2015
Dec. 31, 2015
Dec. 31, 2014
Sep. 30, 2015
Aug. 11, 2014
Jun. 30, 2014
Original principal amount $ 17,814       $ 17,814 $ 24,500      
Loss on extinguishment of debt         2,171 (2,194)      
Hercules Term Loan [Member]                  
Original principal amount 17,051       17,051 20,000      
Term loan fee amount 200       200        
Final payment fee for debt $ 1,700       $ 1,700        
Percentage of loan bear interest rate 12.70%       12.70%        
Term loan, payment terms         Principal payments commenced August 1, 2015 and are to be made in 30 equal installments of approximately $700,000, with the remainder due at maturity.        
Debt instrument, periodic payment, principal         $ 700        
Hercules Term Loan [Member] | Prime Rate [Member]                  
Percentage of loan bear interest rate 12.50%       12.50%       9.20%
Magna Notes [Member]                  
Loss on extinguishment of debt         $ 79 598      
Debt conversion original debt amount         $ 202 $ 1,500      
Number of shares converted         24,867 136,472      
Convertible debt fair value of conversion features         $ 3,500        
Interest expense         176 $ 144      
Interest expense related to debt discount         $ 520 $ 384      
Magna Notes [Member] | June Note [Member]                  
Debt effective interest rate 50.00%       50.00%        
Magna Notes [Member] | August Note [Member]                  
Original principal amount $ 763       $ 763        
Debt maturity date         Aug. 11, 2016        
Percentage of loan bear interest rate 6.00%       6.00%        
Debt effective interest rate 29.00%       29.00%        
First Amendment to Loan and Security Agreement [Member] | Hercules Term Loan [Member]                  
Percentage of repayment charge       1.50%          
Interest rate increase (decrease)   1.50%              
Receive gross proceeds from the exercise of the Series B and Series C Warrants   $ 10,000              
Minimum loan amount   $ 9,000              
Debt instrument, covenant description   The minimum cash requirement is reduced by $500,000 for every $1.0 million paid in principal to a minimum of $2.5 million.              
Minimum liquidity covenant         $ 8,000        
Warrants modified to increase the number of underlying shares         103,226        
Warrants decrease exercise price per share $ 1.50       $ 1.50        
Fair value of warrant         $ 382,000        
First Amendment to Loan and Security Agreement [Member] | Hercules Term Loan [Member] | Minimum [Member]                  
Term loan fee amount       $ 1,500          
First Amendment to Loan and Security Agreement [Member] | Hercules Term Loan [Member] | Maximum [Member]                  
Term loan fee amount       $ 1,700          
First Amendment to Loan and Security Agreement [Member] | Hercules Term Loan [Member] | September 8, 2016 And Thereafter [Member]                  
Percentage of repayment charge       0.75%          
Amendment Agreement [Member] | Magna Notes [Member]                  
Original principal amount $ 311   $ 1,100   $ 311        
Final payment fee for debt             $ 2,500    
Receive gross proceeds from the exercise of the Series B and Series C Warrants $ 368   $ 1,300            
Warrant issued to purchase number of shares         37,926        
Warrants exercise price per share $ 69.75       $ 69.75        
Amendment Agreement [Member] | Magna Notes [Member] | June Note [Member]                  
Original principal amount $ 797       $ 797        
Amendment Agreement [Member] | Magna Notes [Member] | August Note [Member]                  
Original principal amount $ 1,400       $ 1,400        
Hercules Technology Capital, Inc. [Member] | Loan and Security Agreement [Member]                  
Original principal amount                 $ 20,000
Debt maturity date         Jan. 01, 2018        
Hercules Technology Capital, Inc. [Member] | Loan and Security Agreement [Member] | Initial Convertible Note [Member]                  
Original principal amount                 2,900
Debt instrument purchase price                 $ 2,500
Hercules Technology Capital, Inc. [Member] | Loan and Security Agreement [Member] | Additional Convertible Note [Member]                  
Original principal amount               $ 3,500  
Debt instrument purchase price               $ 3,500