XML 101 R80.htm IDEA: XBRL DOCUMENT v3.6.0.2
Debt - Additional Information (Detail)
12 Months Ended
Aug. 01, 2016
USD ($)
Tranche
Dec. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Dec. 31, 2014
USD ($)
Line of Credit Facility [Line Items]        
Repayment of line of credit   $ 16,246,000 $ 15,000,000 $ 7,000,000
Unamortized debt cost   600,000    
Unaccreted debt discount   700,000    
Letters of credit amount   $ 4,200,000    
Letters of credit, expiration year, start   2017    
Letters of credit, expiration year, end   2023    
Building Leases [Member]        
Line of Credit Facility [Line Items]        
Costs recognized agreements term   7 years    
Maximum [Member]        
Line of Credit Facility [Line Items]        
Costs recognized agreements term   3 years    
Maximum [Member] | Equipment Leases [Member]        
Line of Credit Facility [Line Items]        
Costs recognized agreements term   3 years    
Minimum [Member]        
Line of Credit Facility [Line Items]        
Costs recognized agreements term   1 year    
Minimum [Member] | Equipment Leases [Member]        
Line of Credit Facility [Line Items]        
Costs recognized agreements term   1 year    
Tranche Three [Member]        
Line of Credit Facility [Line Items]        
Maximum borrowing capacity under loan agreement   $ 5,000,000    
SVB Credit Facility [Member]        
Line of Credit Facility [Line Items]        
Line of credit facility and term loan termination date   Aug. 01, 2016    
Term Loan [Member]        
Line of Credit Facility [Line Items]        
Repayment of line of credit $ 6,000,000      
Hercules Capital, Inc., [Member] | Secured Loan Agreement [Member]        
Line of Credit Facility [Line Items]        
Loan agreement date   Aug. 01, 2016    
Maturity period of credit facility   Feb. 01, 2020    
Maximum borrowing capacity under loan agreement $ 30,000,000      
Number of allowed tranches to borrow as per agreement | Tranche 3      
Annual variable interest rate, description   equal to the greater of (i) 9.75% plus the prime rate minus 3.50% or (ii) 9.75%.    
Payment-in-kind interest rate 2.15%      
Frequency of periodic payment   Monthly payments are interest only until December 1, 2017, subject to extension until March 1, 2018 or June 1, 2018 depending on whether certain financial milestones are met. After the interest-only period, principal and interest will be due in equal monthly payments.    
Percentage of prepayment changes for due in year one outstanding amount 3.00%      
Percentage of prepayment changes for due in year two outstanding amount. 2.00%      
Percentage of prepayment changes for due in year three outstanding amount. 1.00%      
Minimum required covenants percentage of trailing six month subscription revenue 80.00%      
Number of trailing months of subscription revenue   6 months    
Minimum required covenants unrestricted cash $ 7,500,000      
Minimum required covenants EBITDA for two consecutive quarters 1,000,000      
Expected revised minimum required covenants unrestricted cash after two consecutive quarters. $ 6,000,000      
Hercules Capital, Inc., [Member] | Secured Loan Agreement [Member] | Maximum [Member]        
Line of Credit Facility [Line Items]        
Annual interest, stated percentage 9.75%      
Hercules Capital, Inc., [Member] | Secured Loan Agreement [Member] | Prime Rate [Member]        
Line of Credit Facility [Line Items]        
Variable interest rate 3.50%      
Hercules Capital, Inc., [Member] | Secured Loan Agreement [Member] | Tranche One [Member]        
Line of Credit Facility [Line Items]        
Borrowed amount under loan agreement $ 22,500,000      
Hercules Capital, Inc., [Member] | Secured Loan Agreement [Member] | Tranche Two [Member]        
Line of Credit Facility [Line Items]        
Maturity period of credit facility   Sep. 15, 2017    
Maximum borrowing capacity under loan agreement 2,500,000      
Line of credit facility, initiation date   Jul. 01, 2017    
Hercules Capital, Inc., [Member] | Secured Loan Agreement [Member] | Tranche Three [Member]        
Line of Credit Facility [Line Items]        
Maturity period of credit facility   Sep. 15, 2018    
Maximum borrowing capacity under loan agreement $ 5,000,000      
Line of credit facility, initiation date   Sep. 15, 2017