Quarterly report pursuant to Section 13 or 15(d)

Borrowings - Additional Information (Details)

Borrowings - Additional Information (Details) - USD ($)
9 Months Ended
Sep. 30, 2016
Sep. 30, 2018
Warrants to purchase common stock associated with Loan Agreement    
Debt Instrument [Line Items]    
Number of warrants issued to purchase common stock (in shares) 122,435  
Exercise price of warrants (in dollars per share) $ 3.6754  
Warrants issued, expiration period 5 years  
Secured Debt | Term Loan    
Debt Instrument [Line Items]    
Loan agreement term 48 months  
Term loan, face amount $ 15,000,000  
Loan agreement maturity date   Sep. 30, 2020
Increase in final fee payable at Maturity Date   $ 100,000
Loan agreement maturity date, description   If the Company obtains certain cash proceeds, the Maturity Date of the Loan Agreement may be extended to March 30, 2021.
Secured Debt | Term Loan | LIBOR    
Debt Instrument [Line Items]    
Basis spread on variable rate (as a percent) 8.49%