Quarterly report pursuant to Section 13 or 15(d)

Debt - Additional Information (Details)

v2.4.0.8
Debt - Additional Information (Details) (USD $)
3 Months Ended 6 Months Ended 6 Months Ended 1 Months Ended 6 Months Ended 6 Months Ended 6 Months Ended
Jun. 30, 2014
Jun. 30, 2014
Jun. 30, 2013
Dec. 31, 2013
Dec. 31, 2012
Jun. 30, 2014
Magna Convertible Notes
Jun. 30, 2014
Prior to July 30, 2014
Magna Convertible Notes
Jun. 30, 2014
On or prior to the earlier of October 13, 2014
Magna Convertible Notes
Jun. 30, 2014
Maximum
Magna Convertible Notes
Dec. 31, 2012
Senior Secured Credit Facility
Jan. 31, 2014
Term Loan
Jun. 30, 2014
Term Loan
Dec. 31, 2012
Term Loan
Dec. 31, 2012
Revolving Line of Credit Facility
Jun. 30, 2014
GE Secured Lending Facility
Dec. 31, 2013
GE Secured Lending Facility
Jun. 30, 2014
Hercules Term Loan
Jun. 30, 2013
Hercules Term Loan
Jun. 30, 2014
Hercules Term Loan
Prime rate plus
Jun. 30, 2014
Hercules Term Loan
Maximum
Installment
Jun. 30, 2014
Hercules Term Loan
Minimum
Installment
Jun. 30, 2014
Hercules Term Loan
Minimum
Through August 15, 2014
Jun. 30, 2014
Hercules Term Loan
Minimum
Thereafter August 15, 2014
Jun. 30, 2014
Hercules Term Loan
Scenario, Forecast
Jun. 30, 2014
Initial Convertible Note
Jun. 30, 2014
Additional Convertible Note
Debt Instrument [Line Items]                                                    
Senior secured credit facility, maximum borrowing capacity                   $ 21,500,000     $ 18,000,000 $ 3,500,000                        
Debt and line of credit maturity date   May 31, 2016       Jun. 30, 2016                       Jan. 01, 2018                
Term loan, payment terms                       The term loan included interest only payments for a period of 12 months, followed by monthly principal payments of approximately $600,000 for a period of 30 months, which the Company commenced paying in January 2014.         Interest accrues from the closing date and interest payments are due monthly. Principal payments are required commencing August 1, 2015 and are to be made in 30 equal installments of approximately $700,000, with the remainder due at maturity. If, however, the Company meets certain revenue conditions, the interest only period may be extended through February 1, 2016, reducing the number of required principal payments to 24 equal installments. Additionally, under certain circumstances the Company may, or Hercules Technology may, require that $1.5 million of the principal be paid in the form of shares of common stock at a fixed conversion price of $5.72 per share.                  
Debt instruments,date of first required payment                       Jan. 31, 2014                            
Debt instrument, periodic principal payment                     600,000           700,000                  
Debt instrument, fixed rate           6.00%           7.50%         10.95%                  
Revolving line of credit 0 0   0                                            
Final payment fee for debt 720,000 720,000                                           1,500,000    
Annual management fee 15,000 15,000                                                
Debt instrument, frequency of fee   annual management fee of $15,000 per year                                                
Long-term debt outstanding including unamortized discount 14,400,000 14,400,000         150,000 250,000                                    
Long-term debt outstanding 18,900,000 18,900,000   17,925,000                     14,300,000                      
Unamortized deferred financing costs 1,100,000 1,100,000                                                
Term loan                                 20,000,000                  
Proceeds from line of credit     7,090,000                       15,300,000                      
Loss on extinguishment of debt (1,596,000) (1,596,000)                         1,600,000                      
Principal amount of debt instrument 22,900,000 22,900,000   18,000,000                       18,000,000 20,000,000               2,900,000 3,500,000
Debt instrument purchase price                                                 2,500,000 3,500,000
Term loan fee amount                                 200,000                  
Debt description                                 The Hercules Term Loan also includes a non-refundable final payment fee of $1.5 million. The final payment fee will increase to $2.0 million in the event that the Company does not receive $3.5 million pursuant to the Additional Convertible Note on or before August 15, 2014. The final payment fee will be accrued and recorded to interest expense over the life of the loan. In addition, the Company issued a warrant to Hercules Technology (“Hercules Warrant”) to purchase 516,129 shares of common stock at an initial exercise price of $4.65, subject to adjustment. The number of shares of common stock for which the Hercules Warrant may be exercisable may be increased to 623,655 if the Company does not receive $3.5 million pursuant to the Additional Convertible Note on or before August 15, 2014.                  
Contingent non-refundable payment fee                                 2,000,000                  
Received additional convertible notes                                 3,500,000                  
Warrants issued           568,889                     516,129                  
Initial exercisable price           $ 4.65                     $ 4.65                  
Common stock increased                                 623,655                  
Estimated fair value 848,000 848,000       206,000                     900,000                  
Warrant expires date                                 Jun. 30, 2019                  
Deferred financing cost                                 1,100,000                  
Termination fee                                 1,200,000                  
Debt instrument, variable interest rate                                     7.70%              
Debt instrument, interest rate description           The Magna Convertible Notes mature on June 30, 2016 (subject to extension by the holder) and accrue interest at an annual rate of 6.0%.                     The Hercules Term Loan bears interest at the rate of the greater of either (i) the prime rate plus 7.7%, and (ii) 10.95%.                  
Number of installments for principal payments                                       30 24          
Debt instrument, periodic principal payment                     600,000           700,000                  
Conversion of stock, amount issued                                 1,500,000                  
Common stock at a fixed conversion price           $ 3.75     $ 4.13               $ 5.72                  
Debt instrument, covenant description                                 The Hercules Term Loan contains certain covenants related to restrictions on payments to certain company affiliates, financial reporting requirements and a minimum liquidity covenant that requires the Company to maintain cash and cash equivalents of no less than $6.0 million through August 15, 2014 and not less than $9.0 million thereafter.                  
Debt instrument, covenant compliance                                 Although the Company was in compliance with the liquidity covenant at June 30, 2014, the Company anticipates that it will be non-compliant with the liquidity covenant during the fourth quarter of 2014, and has therefore classified the entire obligation as a current liability.                  
Cash and cash equivalents 11,550,000 11,550,000 1,136,000 2,279,000 2,741,000                                 6,000,000 9,000,000      
Common stock, issued 12,411,207 12,411,207   597,675   50,853                                        
Common stock, $0.01 par value; 250,000,000 shares authorized; 12,411,207 and 597,675 shares issued and outstanding at June 30, 2014 and December 31, 2013, respectively $ 124,000 $ 124,000   $ 6,000   $ 229,000                                        
Closing sale price of the common stock, percentage           110.00%                                        
Debt instrument, convertible, threshold consecutive trading days           2 days                                        
Debt Instrument convertible notes premium           127.50%                                        
Days of redeemable interest remaining convertible notes           60 days                                        
Percentage of volume weighted average price           80.00%                                        
Debt instrument, convertible, number of threshold consecutive trading days           5                                        
Purchase common stock of exercisable share           257,778                                        
Purchase common stock of remaining shares           311,111