XML 32 R23.htm IDEA: XBRL DOCUMENT v3.22.2.2
Summary of Significant Accounting Policies (Tables)
9 Months Ended
Sep. 30, 2022
Accounting Policies [Abstract]  
Summary of changes in the allowance for doubtful accounts and sales allowances
The following table summarizes the changes in the allowance for doubtful accounts and sales allowances (in thousands):

Three Months Ended
September 30,
Nine Months Ended
September 30,
2022202120222021
Allowances, at beginning of period$1,605 $5,789 $3,099 $7,147 
Charged as a reduction of revenue601 923 2,070 3,489 
Charged to bad debt expense in general and administrative expenses243 (182)421 286 
Write-offs, net of recoveries(1,185)(2,852)(4,326)(7,244)
Allowances, at end of period$1,264 $3,678 $1,264 $3,678