XML 54 R42.htm IDEA: XBRL DOCUMENT v3.22.0.1
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, 2021
Dec. 31, 2020
Dec. 31, 2019
Accounting Policies [Abstract]      
Review period for past due accounts 90 days    
Allowance for Doubtful Accounts      
Allowances, at beginning of year $ 7,147 $ 6,591 $ 3,342
Charged as a reduction of revenue 4,205 8,365 11,566
Charged to bad debt expense in general and administrative expenses 528 2,984 1,432
Write-offs, net of recoveries (8,781) (10,793) (9,749)
Allowances, at end of year $ 3,099 $ 7,147 $ 6,591