XML 41 R27.htm IDEA: XBRL DOCUMENT v3.21.2
ALLOWANCE FOR DOUBTFUL ACCOUNTS (Tables)
6 Months Ended
Jun. 30, 2021
Credit Loss [Abstract]  
Reconciliation of allowance for doubtful accounts
A reconciliation of the beginning and ending balances of the allowance for doubtful accounts is as follows (in thousands):
 Three Months Ended
June 30,
Six Months Ended
June 30,
 2021202020212020
Balance, beginning of the period$1,429 $2,021 $1,402 $1,466 
Charges to earnings629 69 1,145 949 
Write-off of uncollectible accounts receivable(585)(337)(1,079)(669)
Recoveries collected— 10 
Balance, end of the period$1,473 $1,756 $1,473 $1,756