v3.22.4
REVENUE - Sales and Valuation Accruals (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning of Period $ 12,430 $ 4,798 $ 4,804
Provision 79,932 41,835 28,117
Payments/Adjustments (80,053) (34,203) (28,123)
End of Period 12,309 12,430 4,798
Returns Allowances      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning of Period 3,361 1,023 540
Provision 1,390 3,095 794
Payments/Adjustments (3,060) (757) (311)
End of Period 1,691 3,361 1,023
Prompt Payment Discounts      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning of Period 1,178 1,007 962
Provision 11,145 10,388 8,541
Payments/Adjustments (11,136) (10,217) (8,496)
End of Period 1,187 1,178 1,007
Service Fees      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning of Period 3,636 1,168 1,486
Provision 16,866 10,112 6,437
Payments/Adjustments (17,309) (7,644) (6,755)
End of Period 3,193 3,636 1,168
Volume Rebates and Chargebacks      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning of Period 3,494 1,600 1,816
Provision 48,890 17,101 12,345
Payments/Adjustments (46,932) (15,207) (12,561)
End of Period 5,452 3,494 1,600
Government Rebates      
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]      
Beginning of Period 761 0 0
Provision 1,641 1,139 0
Payments/Adjustments (1,616) (378) 0
End of Period $ 786 $ 761 $ 0