XML 63 R52.htm IDEA: XBRL DOCUMENT v3.21.2
Balance Sheet Components - Schedule of Accounts Receivable, Net (Details) - USD ($)
$ in Thousands
Sep. 30, 2021
Dec. 31, 2020
Valuation And Qualifying Accounts Disclosure [Line Items]    
Gross accounts receivable $ 621,542 $ 565,088
Allowance for accounts receivable (25,631) (41,236)
Total accounts receivable, net of allowances 595,911 523,852
Allowance for Sales Returns    
Valuation And Qualifying Accounts Disclosure [Line Items]    
Allowance for accounts receivable (4,043) (5,912)
Allowance for Sales Incentives    
Valuation And Qualifying Accounts Disclosure [Line Items]    
Allowance for accounts receivable (19,835) (30,838)
Allowance for Doubtful Accounts    
Valuation And Qualifying Accounts Disclosure [Line Items]    
Allowance for accounts receivable (1,582) (4,181)
Other Allowances    
Valuation And Qualifying Accounts Disclosure [Line Items]    
Allowance for accounts receivable $ (171) $ (305)