XML 68 R51.htm IDEA: XBRL DOCUMENT v3.21.2
Balance Sheet Components (Allowance for Product Returns) (Details) - Allowance for Product Returns [Member] - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Valuation And Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period $ 27,963 $ 25,897 $ 11,266
Additions 67,113 76,802 85,190
Deductions (77,705) (74,736) (70,559)
Balance at end of period $ 17,371 $ 27,963 $ 25,897