Other Income (Expense) - Schedule of Components of Other Income (Expense) (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2022  | 
Mar. 31, 2021  | 
Mar. 31, 2022  | 
Mar. 31, 2021  | 
|
| Other Income (Expense) | ||||
| Interest expense | $ (2,493) | $ (2,660) | $ (8,804) | $ (10,661) | 
| Interest income | 168 | 114 | 606 | 306 | 
| Other non-operating income (expense), net(1) | (19,350) | (20,726) | 14,515 | (17,297) | 
| Total other income (expense) | $ (21,675) | $ (23,272) | $ 6,317 | $ (27,652) | 
| X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| 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. 
  | 
| X | ||||||||||
- Definition Amount of income (expense) related to nonoperating activities, classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  |