XML 101 R42.htm IDEA: XBRL DOCUMENT v3.20.1
Borrowings - Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Dec. 07, 2018
Sep. 30, 2017
Mar. 31, 2018
Dec. 31, 2019
Dec. 31, 2018
Nov. 30, 2019
Sep. 30, 2019
Dec. 31, 2017
Debt Instrument [Line Items]                
Term loan borrowings       $ 0 $ 4,995      
Warrants issued to purchase redeemable convertible preferred stock       461,273        
Number of common shares to be called upon exercise of warrants             512,363  
Series F redeemable convertible preferred stock                
Debt Instrument [Line Items]                
Number of common shares to be called upon exercise of warrants             104,722  
Loan payable | Capital Royalty Partners II LP                
Debt Instrument [Line Items]                
Loan repayment     $ 17,800          
2017 Term loan | Loan payable                
Debt Instrument [Line Items]                
Term loan, issuance costs               $ 100
2017 Term loan | Loan payable | Innovatus Life Sciences Lending Fund                
Debt Instrument [Line Items]                
Term loan borrowings $ 5,000 $ 20,000            
Term loan, interest rate           8.50%    
Term loan, paid in-kind, interest rate           2.00%    
Term loan, effective interest rate       10.00%        
Term loan, fee incurred upon payment of final installment       $ 1,000        
Term loan, prepayment premium percentage       3.00%        
Term loan, annual reduction in prepayment penalty percentage       100.00%        
Term loan covenant, minimum unrestricted cash balance       $ 2,000        
Term loan covenant, increase to interest rate       4.00%        
Term loan, issuance costs               $ 400
2017 Term loan | Loan payable | Innovatus Life Sciences Lending Fund | Series F redeemable convertible preferred stock                
Debt Instrument [Line Items]                
Warrants issued to purchase redeemable convertible preferred stock 3,846,154             15,384,615
Warrants issued to purchase redeemable convertible preferred stock, exercise price (in dollars per share)               $ 0.078
Number of common shares to be called upon exercise of warrants               104,722
2017 Term loan | Paid in-kind note | Innovatus Life Sciences Lending Fund                
Debt Instrument [Line Items]                
Term loan, paid in-kind loans issued       $ 500