XML 64 R49.htm IDEA: XBRL DOCUMENT v3.8.0.1
The Company and Summary of Significant Accounting Policies - Allowance for Doubtful Accounts (Details) - USD ($)
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Valuation and Qualifying Accounts Disclosure [Line Items]    
Accounts receivable $ 22,778,000 $ 14,453,000
Allowance for Doubtful Accounts    
Valuation and Qualifying Accounts Disclosure [Line Items]    
Increase (Decrease) in allowance for doubtful accounts (295,000) 92,000
Bad debt recovery 138,000  
Bad debt written off 157,000  
Valuation allowance balance 358,000 653,000
Allowance for Sales Returns    
Valuation and Qualifying Accounts Disclosure [Line Items]    
Allowance deductions 119,000 360,000
Additional allowance for sales return 72,000 296,000
Valuation allowance balance $ 169,000 $ 360,000