XML 105 R89.htm IDEA: XBRL DOCUMENT v3.22.0.1
Schedule II-Valuation and Qualifying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Allowance for doubtful trade receivables      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of period $ 2,155 $ 2,214 $ 5,666
Charges to costs and expenses 3,933 1,876 617
Recoveries and write offs (841) (1,935) (4,069)
Balance at end of period 5,247 2,155 2,214
Allowance for slow moving and excess inventory      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of period 82,149 71,020 108,567
Charges to costs and expenses 61,905 15,595 1,032
Recoveries and write offs (15,073) (4,466) (38,579)
Balance at end of period $ 128,981 $ 82,149 $ 71,020