XML 41 R29.htm IDEA: XBRL DOCUMENT v3.21.2
Accounts Receivables & Allowance for Doubtful Receivables - Summary of changes in the Allowance for Doubtful Trade Receivables (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Accounts Receivable Net [Abstract]        
Beginning balance $ 3,158 $ 2,282 $ 2,092 $ 1,352
Provision for bad debt 676 781 2,119 4,380
Write-offs (1,193) (2,013) (3,951) (5,423)
Recoveries 393 1,132 2,774 1,873
Net write-offs (800) (881) (1,177) (3,550)
Ending balance $ 3,034 $ 2,182 $ 3,034 $ 2,182