XML 122 R104.htm IDEA: XBRL DOCUMENT v3.22.0.1
Valuation and Qualifying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Allowance for credit losses      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning of Period $ 18,949 $ 6,161 $ 3,634
Charged to Expense 6,689 12,136 3,626
Charged to Other Accounts   2,184 0
Deductions 2,564 1,532 1,099
Balance at End of Period 23,074 18,949 6,161
Allowance for returns      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning of Period 10,449 3,396 896
Charged to Expense 0 0 0
Charged to Other Accounts 4,226 11,249 5,307
Deductions 2,133 4,196 2,807
Balance at End of Period 12,542 10,449 3,396
Charged to other accounts, acquisitions 700    
Valuation allowance for deferred tax assets      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning of Period 151,791 128,388 85,400
Charged to Expense 0 0 0
Charged to Other Accounts 7,628 23,403 42,988
Deductions 36,928 0 0
Balance at End of Period $ 122,491 $ 151,791 $ 128,388