Quarterly report pursuant to Section 13 or 15(d)

Long-Term Debt and Other Financings (Details)

v2.4.0.8
Long-Term Debt and Other Financings (Details)
3 Months Ended 6 Months Ended 1 Months Ended 3 Months Ended 6 Months Ended 1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended 6 Months Ended 1 Months Ended 3 Months Ended 6 Months Ended 3 Months Ended 6 Months Ended
Jun. 30, 2014
USD ($)
Jun. 30, 2013
USD ($)
Jun. 30, 2014
USD ($)
Jun. 30, 2013
USD ($)
Jan. 31, 2014
Novartis Note [Member]
USD ($)
Jun. 30, 2014
Novartis Note [Member]
USD ($)
Jun. 30, 2013
Novartis Note [Member]
USD ($)
Jun. 30, 2014
Novartis Note [Member]
USD ($)
Jun. 30, 2013
Novartis Note [Member]
USD ($)
Dec. 31, 2013
Novartis Note [Member]
USD ($)
Jan. 31, 2014
Servier Loan [Member]
USD ($)
Jun. 30, 2014
Servier Loan [Member]
USD ($)
Jun. 30, 2013
Servier Loan [Member]
USD ($)
Jun. 30, 2014
Servier Loan [Member]
USD ($)
Jun. 30, 2013
Servier Loan [Member]
USD ($)
Dec. 31, 2011
Servier Loan [Member]
USD ($)
Dec. 31, 2013
Servier Loan [Member]
USD ($)
Dec. 31, 2011
Servier Loan [Member]
EUR (€)
Jun. 30, 2014
Servier Loan [Member]
Minimum [Member]
Jun. 30, 2014
Servier Loan [Member]
Maximum [Member]
Sep. 30, 2012
General Electric Capital Corporation Term Loan [Member]
USD ($)
Installment
Jun. 30, 2014
General Electric Capital Corporation Term Loan [Member]
USD ($)
Jun. 30, 2013
General Electric Capital Corporation Term Loan [Member]
USD ($)
Jun. 30, 2014
General Electric Capital Corporation Term Loan [Member]
USD ($)
Installment
Jun. 30, 2013
General Electric Capital Corporation Term Loan [Member]
USD ($)
Dec. 31, 2013
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 ($)
Jun. 30, 2014
Other Financings [Member]
USD ($)
Jun. 30, 2013
Other Financings [Member]
USD ($)
Jun. 30, 2014
Other Financings [Member]
USD ($)
Jun. 30, 2013
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.27%   2.27%                                                
Outstanding principal balance           13,200,000   13,200,000   14,800,000   20,500,000   20,500,000     20,600,000         7,300,000   7,300,000   9,400,000 3,100,000 10,000,000        
Percentage of milestone received (in hundredths)         25.00%                                                      
Milestone received under the collaboration agreement         7,000,000                                                      
Repayment of debt         1,750,000                                                      
Proceeds from loan                               19,500,000         4,600,000                      
Increase (Decrease) in term loan obligation                                         12,500,000                      
Periodic Payment, Principal                                         347,222                      
Initial interest rate during period (in hundredths)                           3.22%                                    
Interest rate reset semi-annually during period (in hundredths)                           2.39%         2.31% 3.83%                        
Accrued interest     1,570,000 (1,757,000)             1,900,000                                          
Euro to US Dollar exchange rates                       1.3645   1.3645     1.3766                              
Interest rate during period (in hundredths)                           2.31%                                    
Unamortized discount on debt                       8,900,000   8,900,000                                    
Unrealized foreign exchange gain (loss)     241,000 265,000               200,000 (300,000) 200,000 300,000                                  
Unrealized foreign exchange gain (loss) related to re-measurement of loan discount                       (100,000) 100,000 (100,000) (100,000)                                  
Amortization period for loan discount                           5 years                                    
Amortization of debt discount                       500,000 400,000 900,000 800,000                                  
Carrying value of the loan                       17,300,000   17,300,000     16,500,000                              
Recognition of deferred revenue                       500,000 400,000 900,000 800,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                                           200,000   200,000     100,000          
Interest expense and amortization of debt issuance costs [Abstract]                                                                
Interest expense $ 1,110,000 $ 1,164,000 $ 2,236,000 $ 2,336,000   $ 78,000 $ 91,000 $ 155,000 $ 182,000     $ 600,000 $ 528,000 $ 1,188,000 $ 1,053,000             $ 423,000 $ 531,000 $ 870,000 $ 1,077,000       $ 9,000 $ 14,000 $ 23,000 $ 24,000