XML 82 R64.htm IDEA: XBRL DOCUMENT v3.19.1
Notes Payable - Additional Information (Detail)
12 Months Ended
May 16, 2018
USD ($)
Dec. 26, 2017
USD ($)
$ / shares
shares
Feb. 21, 2017
USD ($)
Warrant
$ / shares
shares
Dec. 31, 2018
$ / shares
shares
Dec. 31, 2017
USD ($)
Debt Instrument [Line Items]          
Remainder of borrowings     $ 13,700,000    
Interest period of loan agreement 1 year        
Minimum [Member]          
Debt Instrument [Line Items]          
Market capitalization $ 200,000,000        
CRG [Member] | Line of Credit [Member]          
Debt Instrument [Line Items]          
License termination effective date       Feb. 21, 2017  
Number of warrants to purchase common stock | shares   349,452 1,701,583    
Exercise price of warrants to purchase common stock | $ / shares   $ 3.42 $ 2.38    
Borrowings outstanding     $ 45,000,000    
Additional borrowing capacity upon milestone achievement     15,000,000    
Second draw borrowing capacity upon milestone achievement     $ 5,000,000    
Loan agreement term     6 years    
Loan agreement interest only term     3 years    
Interest on borrowings     12.50%    
Interest on borrowings, interest only period percentage     3.50%    
Final payment fee rate     9.00%    
Prepayment period of outstanding principal and accrued unpaid interest     5 years    
Prepayment fee after     $ 0    
Additional interest rate     4.00%    
Number of warrants | Warrant     5    
CRG [Member] | Tranche Two [Member] | Line of Credit [Member]          
Debt Instrument [Line Items]          
Net proceeds in aggregate amount   $ 15,000,000      
MidCap Financial Trust [Member] | Secured Debt [Member]          
Debt Instrument [Line Items]          
Net proceeds in aggregate amount     $ 29,400,000    
Number of warrants to purchase common stock | shares       84,986  
Exercise price of warrants to purchase common stock | $ / shares       $ 3.53  
Class Of Warrant Or Rights Date From Which Warrants Or Rights Expired       2021-05  
MidCap Financial Trust [Member] | Secured Debt [Member] | Interest Expense [Member]          
Debt Instrument [Line Items]          
Deferred loan costs expensed         $ 700,000