XML 46 R37.htm IDEA: XBRL DOCUMENT v3.23.1
Revenue from Contracts with Customers - Summary of Changes in Allowance for Doubtful Accounts (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Accounts Receivable Allowance for Credit Losses    
Accounts Notes And Loans Receivable [Line Items]    
Allowance for credit losses, Beginning Balance $ 1,539 $ 442
Amounts charged to contra revenue, cost of revenues and expenses 200 216
Amounts written off as uncollectable (87)  
Adjustment to allowance on adoption of ASU 2016-13   400
Allowance for credit losses, Ending Balance 1,652 1,058
Accounts Receivable Allowance For Returns    
Accounts Notes And Loans Receivable [Line Items]    
Allowance for credit losses, Beginning Balance 1,584 1,841
Amounts charged to contra revenue, cost of revenues and expenses 200  
Deduction released to revenue (93) (150)
Allowance for credit losses, Ending Balance 1,691 1,691
Supplier Advances Receivable Allowance    
Accounts Notes And Loans Receivable [Line Items]    
Allowance for credit losses, Beginning Balance 1,872 1,105
Amounts charged to contra revenue, cost of revenues and expenses   550
Amounts written off as uncollectable (648) (707)
Recoveries of amounts previously written off 351 251
Adjustment to allowance on adoption of ASU 2016-13   600
Allowance for credit losses, Ending Balance $ 1,575 $ 1,799