XML 48 R37.htm IDEA: XBRL DOCUMENT v3.19.2
Long-Term Debt - Additional Information - MidCap Financial CSA (Details)
Jun. 29, 2018
USD ($)
$ / shares
shares
Jun. 30, 2019
USD ($)
Dec. 31, 2018
USD ($)
$ / shares
Nov. 18, 2018
USD ($)
Aug. 31, 2018
$ / shares
shares
Term Loan | Series D-1 Convertible Preferred Stock          
Debt Instrument [Line Items]          
Warrants to purchase, Fair value preferred stock | $ / shares         $ 20.56
Shares of common stock | shares         6,814
MidCap Financial CSA          
Debt Instrument [Line Items]          
Term loan facility available $ 15,000,000        
Annual interest rate bears 7.50%        
LIBOR subject to floor rate 1.50%        
Debt instrument maturity period 60 months        
Debt instrument interest only portion maturity period 18 months        
Debt instrument principal and interest maturity period 42 months        
Debt issuance fees paid $ 300,000        
Prepayment fee percentage 4.00%        
Prepayment fee   $ 400,000      
Additional amount invested in term loan facility   1,000,000      
MidCap Financial CSA | Term Loan | Series D-1 Convertible Preferred Stock          
Debt Instrument [Line Items]          
Shares called by warrant (in shares) | shares 625,000        
Warrants to purchase, Fair value preferred stock | $ / shares $ 0.48        
Debt discount and amortization of interest expense $ 200,000        
Shares of common stock | shares         14,602
MidCap Financial CSA | Term Loan | Series D-1 Convertible Preferred Stock | Expected life (in years)          
Debt Instrument [Line Items]          
Fair value assumptions term 10 years        
MidCap Financial CSA | Term Loan | Series D-1 Convertible Preferred Stock | Risk-free interest rate          
Debt Instrument [Line Items]          
Fair value assumptions 0.0283        
MidCap Financial CSA | Term Loan | Series D-1 Convertible Preferred Stock | Volatility          
Debt Instrument [Line Items]          
Fair value assumptions 0.59        
MidCap Financial CSA | Other Long-term Liabilities          
Debt Instrument [Line Items]          
Debt discount charge   $ 400,000      
MidCap Financial CSA | First Year          
Debt Instrument [Line Items]          
Prepayment fee percentage 4.00%        
MidCap Financial CSA | Second Year          
Debt Instrument [Line Items]          
Prepayment fee percentage 3.00%        
MidCap Financial CSA | Thereafter          
Debt Instrument [Line Items]          
Prepayment fee percentage 2.00%        
MidCap Financial CSA | Tranche 1          
Debt Instrument [Line Items]          
Term loan facility available $ 10,000,000        
Term loan facility borrowed from Tranche 1 10,000,000        
MidCap Financial CSA | Tranche 2          
Debt Instrument [Line Items]          
Term loan facility available 2,500,000.0        
MidCap Financial CSA | Tranche 3          
Debt Instrument [Line Items]          
Term loan facility available 2,500,000.0        
Western Alliance LSA          
Debt Instrument [Line Items]          
Repayment of outstanding term loan $ 7,000,000        
Prepayment fee     $ 160,000 $ 210,000  
Warrants to purchase, Fair value preferred stock | $ / shares     $ 6.99