Supplemental Balance Sheet and Cash Flow Information - Inventories (Details) - USD ($) $ in Thousands  | 
Jun. 30, 2024  | 
Jun. 30, 2023  | 
|---|---|---|
| Supplemental Balance Sheet and Cash Flow Information | ||
| Raw materials | $ 79,377 | $ 84,551 | 
| Finished goods | 106,072 | 92,474 | 
| Inventories, net | $ 185,449 | $ 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://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| 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://fasb.org/us-gaap/role/ref/legacyRef 
  |