| Selected Balance Sheet Data - Inventories (Details) - USD ($) $ in Thousands | Dec. 31, 2023 | Jun. 30, 2023 | 
|---|---|---|
| Selected Balance Sheet Data | ||
| Raw materials | $ 83,247 | $ 84,551 | 
| Finished goods(1) | 102,907 | 92,474 | 
| Inventories, net | $ 186,154 | $ 177,025 | 
| X | ||||||||||
| 
- Definition Amount of inventory, net of reserves, including both current and non-current portions. No definition available. 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of merchandise or goods held by the company that are readily available for sale. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Definition Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of unprocessed items to be consumed in the manufacturing or production process. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 |