| Supplemental Balance Sheet and Cash Flow Information - Changes in Carrying Amount of Goodwill (Details) - USD ($) $ in Thousands | 12 Months Ended | |
|---|---|---|
| Jun. 30, 2023 | Jun. 30, 2022 | |
| Beginning balance | $ 822,101 | $ 843,067 | 
| Eminence impairment | (8,275) | |
| Acquisitions | 51,257 | |
| Adjustments | (4,407) | |
| Currency translation | (621) | (8,284) | 
| Ending balance | 872,737 | 822,101 | 
| Protein Sciences | ||
| Beginning balance | 376,493 | 392,717 | 
| Eminence impairment | (8,275) | |
| Acquisitions | 51,257 | |
| Currency translation | (723) | (7,949) | 
| Ending balance | 427,027 | 376,493 | 
| Diagnostics and Genomics | ||
| Beginning balance | 445,608 | 450,350 | 
| Adjustments | (4,407) | |
| Currency translation | 102 | (335) | 
| Ending balance | $ 445,710 | $ 445,608 | 
| X | ||||||||||
| 
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Definition Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Definition Amount of foreign currency translation gain (loss) which increases (decreases) an asset representing future economic benefits from other assets acquired in a business combination that are not individually identified and separately recognized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |