XML 35 R20.htm IDEA: XBRL DOCUMENT v3.8.0.1
Allowance for Doubtful Accounts
12 Months Ended
Dec. 31, 2017
Text Block [Abstract]  
Allowance for Doubtful Accounts

14.

Allowance for Doubtful Accounts

The components of the allowance for doubtful accounts are as follows (in thousands):

 

 

 

December 31,

 

 

 

2017

 

 

2016

 

 

2015

 

Balance at beginning of year

 

$

4,253

 

 

$

3,188

 

 

$

2,321

 

Provision for bad debts, net of recoveries

 

 

1,748

 

 

 

1,727

 

 

 

1,192

 

Write-offs and other

 

 

(1,120

)

 

 

(662

)

 

 

(325

)

Balance at end of year

 

$

4,881

 

 

$

4,253

 

 

$

3,188