| Leases - Balance Sheet Classification (Details) - USD ($) $ in Thousands | Jun. 30, 2023 | Jun. 30, 2022 | 
|---|---|---|
| Leases | ||
| Operating lease right of use assets | $ 98,326 | $ 65,556 | 
| Current operating lease liabilities | 11,199 | 11,928 | 
| Noncurrent operating lease liabilities | 93,766 | $ 58,133 | 
| Total operating lease liabilities | $ 104,965 | |
| Weighted average remaining lease term (in years): | 9 years 3 months 29 days | |
| Weighted average discount rate: | 4.27% | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of lessee's right to use underlying asset under operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Weighted average discount rate for operating lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Definition Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 |