XML 44 R34.htm IDEA: XBRL DOCUMENT v3.7.0.1
Borrowings - Schedule of Future Principal Debt Payments (Details) - USD ($)
$ in Thousands
Jun. 30, 2017
Dec. 31, 2016
Debt Instrument [Line Items]    
Less current portion $ (1,349) $ 0
Secured Debt | Term Loan    
Debt Instrument [Line Items]    
2017 0  
2018 4,500  
2019 6,000  
2020 4,500  
Total principal payments 15,000  
Final fee due at maturity 750  
Total principal and final fee payment 15,750  
Unamortized discount and debt issuance costs (1,298)  
Less current portion (1,349)  
Loan payable, long term $ 13,103