Quarterly report pursuant to Section 13 or 15(d)

Long-Term Debt (Details)

v2.4.0.8
Long-Term Debt (Details)
3 Months Ended 9 Months Ended 3 Months Ended 6 Months Ended 9 Months Ended 3 Months Ended 6 Months Ended 9 Months Ended 12 Months Ended 1 Months Ended 3 Months Ended 9 Months Ended 0 Months Ended 3 Months Ended 9 Months Ended
Sep. 30, 2013
USD ($)
Sep. 30, 2012
USD ($)
Sep. 30, 2013
USD ($)
Sep. 30, 2012
USD ($)
Sep. 30, 2013
Novartis Note [Member]
USD ($)
Sep. 30, 2012
Novartis Note [Member]
USD ($)
Jun. 30, 2013
Novartis Note [Member]
Sep. 30, 2013
Novartis Note [Member]
USD ($)
Sep. 30, 2012
Novartis Note [Member]
USD ($)
Dec. 31, 2012
Novartis Note [Member]
USD ($)
Sep. 30, 2013
Servier Loan [Member]
USD ($)
Sep. 30, 2012
Servier Loan [Member]
USD ($)
Jul. 15, 2013
Servier Loan [Member]
Jan. 15, 2013
Servier Loan [Member]
Jul. 15, 2012
Servier Loan [Member]
Jan. 15, 2012
Servier Loan [Member]
Sep. 30, 2013
Servier Loan [Member]
USD ($)
Sep. 30, 2012
Servier Loan [Member]
USD ($)
Dec. 31, 2012
Servier Loan [Member]
USD ($)
Dec. 31, 2011
Servier Loan [Member]
USD ($)
Sep. 30, 2013
Servier Loan [Member]
EUR (€)
Sep. 30, 2012
General Electric Capital Corporation Term Loan [Member]
USD ($)
Installment
Sep. 30, 2013
General Electric Capital Corporation Term Loan [Member]
USD ($)
Sep. 30, 2012
General Electric Capital Corporation Term Loan [Member]
USD ($)
Sep. 30, 2013
General Electric Capital Corporation Term Loan [Member]
USD ($)
Installment
Sep. 30, 2012
General Electric Capital Corporation Term Loan [Member]
USD ($)
Dec. 31, 2012
General Electric Capital Corporation Term Loan [Member]
USD ($)
Sep. 27, 2012
General Electric Capital Corporation Term Loan [Member]
USD ($)
Dec. 31, 2011
General Electric Capital Corporation Term Loan [Member]
USD ($)
Aug. 23, 2013
Other Financings [Member]
USD ($)
Sep. 30, 2013
Other Financings [Member]
USD ($)
Sep. 30, 2012
Other Financings [Member]
USD ($)
Sep. 30, 2013
Other Financings [Member]
USD ($)
Sep. 30, 2012
Other Financings [Member]
USD ($)
Debt Instrument [Line Items]                                                                    
Maturity date               Jun. 30, 2015                                 Jun. 15, 2015                  
Research and development expenses funded through loan facility, maximum (in hundredths)               75.00%                                                    
Maximum borrowing capacity under loan agreement         $ 50,000,000     $ 50,000,000                         € 15,000,000                          
Variable rate basis               six-month LIBOR                 Euro Inter-Bank Offered Rate ("EURIBOR")                                  
Basis spread on variable rate (in hundredths)             2.00%                                                      
Interest rate at period end (in hundredths) 2.41%   2.41%                                                              
Outstanding principal balance         14,600,000     14,600,000   14,200,000 20,300,000           20,300,000   19,800,000       10,400,000   10,400,000   12,500,000 3,100,000 10,000,000          
Periodic Payment, Principal                                           347,222                        
Proceeds from loan                                       19,500,000   4,600,000                        
Increase (Decrease) in term loan obligation                                           12,500,000                        
Initial interest rate during period (in hundredths)                                     3.22%                              
Interest rate during period (in hundredths)                         2.33% 2.80% 3.54% 3.83%                                    
Unamortized discount on debt                     8,900,000           8,900,000                                  
Unrealized foreign exchange gain (loss)     55,000 88,000             (800,000) (400,000)         (500,000) 100,000                                
Unrealized foreign exchange gains related to re-measurement of loan discount                     200,000 100,000         100,000 (100,000)                                
Euro to US Dollar exchange rates                     1.3520           1.3520   1.3215                              
Amortization period for loan discount                                 5 years                                  
Amortization of debt discount     0 (55,000)             400,000 400,000         1,200,000 1,100,000                                
Carrying value of the loan                     15,800,000           15,800,000   14,200,000                              
Recognition of deferred revenue                     400,000 400,000         1,200,000 1,100,000                                
Debt issuance costs                                           200,000     1,300,000                  
Final payment fee                                             500,000   500,000     875,000            
Fixed interest rate accrued (in hundredths)                                             11.71%   11.71%     10.90%            
Number of monthly installments                                           27     42                  
Prepayment premium year one (in hundredths)                                             3.00%   3.00%                  
Prepayment premium year two (in hundredths)                                             2.00%   2.00%                  
Prepayment premium year thereafter (in hundredths)                                             1.00%   1.00%                  
Aggregate number of unregistered shares of common stock called by warrants (in shares)                                             263,158   263,158     39,346            
Warrants exercise price (in dollars per share)                                             $ 1.14   $ 1.14     $ 3.54            
Immediate Term for warrants exercisable (in years)                                           5 years     5 years                  
Fair value of warrant liability 52,000   52,000                                       200,000   200,000     100,000            
Interest expense and amortization of debt issuance costs [Abstract]                                                                    
Interest expense 1,159,000 1,144,000 3,495,000 3,211,000 90,000 99,000   272,000 298,000   508,000 475,000         1,584,000 1,298,000         547,000 558,000 1,600,000 1,583,000         14,000 12,000 39,000 32,000
Underwritten Offering [Abstract]                                                                    
Number of underwritten public offering shares (in shares)                                                           8,736,187        
Number of common stock issued at public offering (in shares)                                                           1,139,502        
Public offering share price (in dollars per share)                                                           $ 3.62        
Proceeds from issuance of common stock before deducting expenses                                                                 31,600,000  
Discount, commissions and estimated offering expenses                                                                 $ 2,200,000