XML 33 R22.htm IDEA: XBRL DOCUMENT v3.21.2
Accounts Receivable and Inventories (Tables)
6 Months Ended
Jun. 30, 2021
Accounts Receivable And Inventories Disclosure [Abstract]  
Schedule of Accounts Receivable
Accounts receivable consisted of the following (in thousands):
June 30,
2021
December 31,
2020
Accounts receivable$83,885 $86,052 
Less: allowance for credit losses(3,673)(3,857)
Accounts receivable, net$80,212 $82,195 
Schedule of Accounts Receivable, Allowance for Credit Loss
The following table provides a reconciliation of the changes in the estimated allowance for expected accounts receivable credit losses for the three and six months ended June 30, 2021 and 2020 (in thousands):
Three Months Ended
June 30,
Six Months Ended
June 30,
2021202020212020
Balance at beginning of the period$3,559 $3,384 $3,857 $3,304 
Provision for expected credit losses731 666 874 1,529 
Write-offs and adjustments, net of recoveries(617)(911)(1,058)(1,694)
Balance at end of the period$3,673 $3,139 $3,673 $3,139 
Schedule of Inventories
Inventories consisted of the following as of June 30, 2021 and December 31, 2020 (in thousands):
June 30,
2021
December 31,
2020
Raw materials$22,684 $30,880 
Work-in-process16,360 15,664 
Finished goods27,661 17,177 
Total inventories$66,705 $63,721