XML 49 R33.htm IDEA: XBRL DOCUMENT v3.6.0.2
Summary of Significant Accounting Policies - Schedule of Changes in Allowance for Doubtful Accounts and Sales Allowances (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Allowance for Doubtful Accounts      
Allowances, at beginning of period $ 2,720 $ 2,069 $ 2,184
Charged as a reduction of revenue 7,042 6,716 4,797
Charged to bad debt expense in general and administrative expenses 1,285 925 373
Write-offs, net of recoveries (8,447) (6,990) (5,285)
Allowances, at end of period $ 2,600 $ 2,720 $ 2,069