XML 63 R50.htm IDEA: XBRL DOCUMENT v3.21.1
Balance Sheet Components - Schedule of Accounts Receivable, Net (Details) - USD ($)
$ in Thousands
Mar. 31, 2021
Dec. 31, 2020
Mar. 31, 2020
Dec. 31, 2019
Valuation And Qualifying Accounts Disclosure [Line Items]        
Gross accounts receivable $ 524,429 $ 565,088    
Allowance for accounts receivable (28,256) (41,236)    
Total Accounts Receivable, net of allowances 496,173 523,852    
Allowance for Sales Returns        
Valuation And Qualifying Accounts Disclosure [Line Items]        
Allowance for accounts receivable (3,768) (5,912) $ (4,668) $ (6,550)
Allowance for Sales Incentives        
Valuation And Qualifying Accounts Disclosure [Line Items]        
Allowance for accounts receivable (20,136) (30,838) (9,273) (19,476)
Allowance for Doubtful Accounts        
Valuation And Qualifying Accounts Disclosure [Line Items]        
Allowance for accounts receivable (4,127) (4,181) $ (4,959) $ (1,140)
Other Allowances        
Valuation And Qualifying Accounts Disclosure [Line Items]        
Allowance for accounts receivable $ (225) $ (305)