| Leases - Balance Sheet Classification (Details) - USD ($) $ in Thousands | Sep. 30, 2022 | Jun. 30, 2022 | 
|---|---|---|
| Leases | ||
| Operating lease right of use assets | $ 69,745 | $ 65,556 | 
| Current operating lease liabilities | 12,115 | 11,928 | 
| Noncurrent operating lease liabilities | 64,756 | $ 58,133 | 
| Total operating lease liabilities | $ 76,871 | |
| Weighted average remaining lease term (in years): | 8 years 5 months 19 days | |
| Weighted average discount rate: | 4.00% | 
| 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/disclosureRef 
 | 
| 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 
 |