XML 69 R54.htm IDEA: XBRL DOCUMENT v3.8.0.1
Indebtedness (Narrative) (Details) - USD ($)
12 Months Ended
Feb. 23, 2018
Apr. 25, 2016
Dec. 31, 2017
Line of Credit Facility [Line Items]      
Cost of assets under lease     $ 14,471,000
Accumulated amortization on the capital leases     $ 2,249,000
Maximum [Member]      
Line of Credit Facility [Line Items]      
Loan term     1 year
Silicon Valley Bank Agreement [Member] | Revolving Credit Facility [Member]      
Line of Credit Facility [Line Items]      
Line of credit     $ 15,000,000
Line of credit, amount outstanding     0
Line of credit, availability     $ 15,000,000
Silicon Valley Bank, Second Amended And Restated Loan Agreement [Member]      
Line of Credit Facility [Line Items]      
Principal payment starting period after inception of loan to maturity   18 months  
Silicon Valley Bank, Second Amended And Restated Loan Agreement [Member] | Revolving Credit Facility [Member]      
Line of Credit Facility [Line Items]      
Maturity date     Apr. 30, 2021
Annual commitment fee   $ 50,000  
Silicon Valley Bank, Second Amended And Restated Loan Agreement [Member] | Revolving Credit Facility [Member] | Subsequent Event [Member]      
Line of Credit Facility [Line Items]      
Additional fee on total term loan 0.33%    
Silicon Valley Bank, Third Amended And Restated Loan Agreement [Member] | Subsequent Event [Member]      
Line of Credit Facility [Line Items]      
Principal payment starting period after inception of loan to maturity 18 months    
Upon certain conditions met, deferred loan payment period 6 months    
Silicon Valley Bank, Third Amended And Restated Loan Agreement [Member] | Revolving Credit Facility [Member]      
Line of Credit Facility [Line Items]      
Maturity date     Feb. 28, 2023
Silicon Valley Bank, Third Amended And Restated Loan Agreement [Member] | Revolving Credit Facility [Member] | Subsequent Event [Member]      
Line of Credit Facility [Line Items]      
Line of credit, maximum borrowing capacity $ 20,000,000    
Credit facility, expiration period 5 years    
Optional increase in line of credit $ 20,000,000    
Computer And Office Equipment [Member]      
Line of Credit Facility [Line Items]      
Capital lease expiration period     Dec. 31, 2030
Term Loan [Member] | Silicon Valley Bank, Second Amended And Restated Loan Agreement [Member]      
Line of Credit Facility [Line Items]      
Loan amount   $ 25,000,000  
Loan term   5 years  
Additional fee on total term loan   4.00%  
Accrued fee amount     $ 337,000
Term Loan [Member] | Silicon Valley Bank, Second Amended And Restated Loan Agreement [Member] | Subsequent Event [Member]      
Line of Credit Facility [Line Items]      
Additional fee on total term loan 3.50%    
Term Loan [Member] | Silicon Valley Bank, Third Amended And Restated Loan Agreement [Member] | Subsequent Event [Member]      
Line of Credit Facility [Line Items]      
Loan amount $ 40,000,000    
Term Loan [Member] | Silicon Valley Bank, Third Amended And Restated Loan Agreement [Member] | Prime Rate [Member] | Subsequent Event [Member]      
Line of Credit Facility [Line Items]      
Basis rate 3.75%    
Interest rate 8.25%    
Mason Lease [Member] | Letter of Credit [Member]      
Line of Credit Facility [Line Items]      
Letter of credit outstanding     $ 1,250,000