Annual report pursuant to Section 13 and 15(d)

Long-Term Debt and Other Financings - Silicon Valley Bank Loan Agreement (Details)

v3.20.1
Long-Term Debt and Other Financings - Silicon Valley Bank Loan Agreement (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
May 07, 2018
Mar. 31, 2019
Sep. 30, 2018
May 31, 2018
Dec. 31, 2019
Dec. 31, 2018
Mar. 04, 2019
Long-term debt              
Proceeds from issuance of long-term debt         $ 9,500 $ 7,500  
Debt amount         32,277    
Current portion of long-term debt         5,184 789  
Long-term debt         $ 27,093 21,690  
Silicon Valley Bank Loan Agreement              
Long-term debt              
Maximum borrowing capacity under loan agreement $ 20,000            
Aggregate borrowing capacity consisting of the maximum borrowing capacity plus the contingent increase 40,000            
Cash proceeds to be received from milestone and licensing payments in order to extend draw period $ 20,000            
Period of monthly payments of principal and interest 24 months            
Maximum period following loan amortization date for which loan will mature 23 months            
Maximum period prior to loan maturity date of Novartis loan for which loan will mature 30 days            
Amount of loan that may be reborrowed after repayment $ 0            
Final payment fee (as a percent) 8.50%            
Additional interest rate in the event of default (as a percent) 4.00%            
Exercisable period of warrants         10 years    
Debt issuance costs $ 200            
Non-cash interest expense resulting from amortization of discount and accretion of final payment         $ 500 100  
Debt amount         16,400 7,300  
Current portion of long-term debt         5,200 800  
Long-term debt         11,200 $ 6,500  
Silicon Valley Bank Loan Agreement | Minimum              
Long-term debt              
Interest rate (as a percent) 4.75%            
Silicon Valley Bank Loan Agreement | Common stock warrant, Exercise price $23.69 per share, Issued May 2018              
Long-term debt              
Aggregate number of shares of common stock called by warrants 6,332     6,332      
Exercise price of per share (in dollars per share) $ 23.69     $ 23.69      
Exercisable period of warrants 10 years     10 years      
Fair value of warrant $ 100     $ 100      
Silicon Valley Bank Loan Agreement | Common stock warrant, Exercise price $14.71 per share, Issued March 2019              
Long-term debt              
Aggregate number of shares of common stock called by warrants   4,845         4,845
Exercise price of per share (in dollars per share)   $ 14.71         $ 14.71
Exercisable period of warrants   10 years          
Fair value of warrant   $ 100         $ 100
Silicon Valley Bank Loan Agreement | Prime Rate              
Long-term debt              
Basis spread on variable rate 0.25%            
Silicon Valley Bank Loan Agreement | On or before first anniversary              
Long-term debt              
Prepayment fee (as a percent) 3.00%            
Silicon Valley Bank Loan Agreement | Following first anniversary              
Long-term debt              
Prepayment fee (as a percent) 2.00%            
Silicon Valley Bank Loan Agreement | Following second anniversary              
Long-term debt              
Prepayment fee (as a percent) 1.00%            
Silicon Valley Bank, First Term Loan              
Long-term debt              
Proceeds from issuance of long-term debt     $ 7,500        
Unamortized discount     $ 300        
Silicon Valley Bank, Second Term Loan              
Long-term debt              
Proceeds from issuance of long-term debt         9,500    
Unamortized discount         $ 45