Quarterly report pursuant to Section 13 or 15(d)

Loans Payable (Details)

v3.19.3
Loans Payable (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Dec. 31, 2015
USD ($)
item
$ / shares
shares
Sep. 30, 2014
USD ($)
tranche
$ / shares
shares
Sep. 30, 2019
USD ($)
$ / shares
shares
Sep. 30, 2018
USD ($)
Sep. 30, 2019
USD ($)
$ / shares
shares
Sep. 30, 2018
USD ($)
Dec. 31, 2018
USD ($)
Mar. 31, 2017
USD ($)
Dec. 31, 2016
USD ($)
Long Term Debt                  
Face amount $ 16,500                
Interest expense     $ 190 $ 515 $ 814 $ 1,790      
Loan and security agreement                  
Long Term Debt                  
Maximum amount available   $ 35,000              
Debt number of tranches | tranche   3              
Gross proceeds     $ 6,333   $ 6,333   $ 15,833    
Final payment fee         6.60%        
Interest expense         $ 500 $ 1,200      
Debt discount and debt issuance costs   $ 1,000              
Term Loan A                  
Long Term Debt                  
Face amount   $ 2,000              
Interest rate (as a percent)     6.50%   6.50%        
Term Loan A | Common Stock | Warrants                  
Long Term Debt                  
Number of shares that can be purchased upon exercise of warrants (in shares) | shares   7,678 5,728   5,728        
Exercise price | $ / shares   $ 5.861              
Term Loan B                  
Long Term Debt                  
Remaining amount available $ 16,500                
Interest rate (as a percent)     6.50%   6.50%        
Term Loan B | Common Stock | Warrants                  
Long Term Debt                  
Number of shares that can be purchased upon exercise of warrants (in shares) | shares 34,961                
Exercise price | $ / shares $ 10.6190                
Term Loan C                  
Long Term Debt                  
Face amount               $ 10,000  
Remaining amount available                 $ 10,000
Number of specified triggers needed to be satisfied to draw on loan | item 1                
Interest rate (as a percent)     6.98%   6.98%        
Prepayment fee percent         1.00%        
Term Loan C | Common Stock | Warrants                  
Long Term Debt                  
Number of shares that can be purchased upon exercise of warrants (in shares) | shares     62,241   62,241        
Exercise price | $ / shares     $ 3.6150   $ 3.6150