XML 32 R21.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of Significant Accounting Policies (Tables)
6 Months Ended
Jun. 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
June 30,
Six Months Ended
June 30,
2022202120222021
Allowances, at beginning of period$2,513 $6,149 $3,099 $7,147 
Charged as a reduction of revenue679 1,287 1,469 2,566 
Charged to bad debt expense in general and administrative expenses18 236 178 468 
Write-offs, net of recoveries(1,605)(1,883)(3,141)(4,392)
Allowances, at end of period$1,605 $5,789 $1,605 $5,789