XML 61 R50.htm IDEA: XBRL DOCUMENT v3.21.2
CURRENT EXPECTED CREDIT LOSSES (Details) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Allowance for doubtful accounts rollforward    
Beginning balance $ 4,815 $ 5,181
Provision (benefit) for current expected credit losses 3,848 (448)
Write-offs (1,330) (315)
Recoveries collected (net of expenses) 9 8
Ending balance $ 7,342 $ 4,410