| Other Income / (Expense) - Schedule of Components of Other Income (Expense) (Details) - USD ($) $ in Thousands | 3 Months Ended | |
|---|---|---|
| Sep. 30, 2023 | Sep. 30, 2022 | |
| Other income (expense). | ||
| Interest expense | $ (4,893) | $ (3,790) | 
| Interest income | 890 | 433 | 
| Gain (loss) on investment(1) | 283 | 49,769 | 
| Gain (loss) on equity method investment | (2,290) | |
| Other non-operating income (expense), net | (294) | 987 | 
| Total other income (expense) | $ (6,304) | $ 47,399 | 
| X | ||||||||||
| 
- Definition Amount of income (expense) related to nonoperating activities, classified as other. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of realized and unrealized gain (loss) on investment. Reference 1: http://www.xbrl.org/2003/role/recommendedDisclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of income (loss) for proportionate share of equity method investee's income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of the cost of borrowed funds accounted for as interest expense. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Definition Amount after accretion (amortization) of discount (premium), and investment expense, of interest income and dividend income on nonoperating securities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 |