v3.26.3
Stockholders' Equity - Summary of Changes in Accumulated Other Comprehensive Income (Loss) (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]    
Beginning balance $ 475,005 $ 942,913
Other comprehensive income (loss) before reclassifications (15,350) 60,980
Amounts reclassified into (income) loss (5,060) (4,788)
Total other comprehensive (loss) income (20,410) 56,192
Ending balance 154,795 475,005
Accumulated Other Comprehensive Loss    
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]    
Beginning balance (81,053) (137,245)
Ending balance (101,463) (81,053)
Foreign Currency Translation Adjustment, Net    
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]    
Beginning balance (75,749) (147,073)
Other comprehensive income (loss) before reclassifications (21,228) 71,324
Amounts reclassified into (income) loss 0 0
Total other comprehensive (loss) income (21,228) 71,324
Ending balance (96,977) (75,749)
Deferred (Losses) Gains on Cash Flow Hedging Instruments, Net    
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]    
Beginning balance 2,583 9,395
Other comprehensive income (loss) before reclassifications 1,308 (1,892)
Amounts reclassified into (income) loss (2,709) (4,920)
Total other comprehensive (loss) income (1,401) (6,812)
Ending balance 1,182 2,583
Deferred (Losses) Gains on Fair Value Hedging Instruments, Net    
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]    
Beginning balance 184 297
Other comprehensive income (loss) before reclassifications 904 (1,670)
Amounts reclassified into (income) loss (918) 1,557
Total other comprehensive (loss) income (14) (113)
Ending balance 170 184
Deferred (Losses) Gains on Net Investment Hedging Instruments, Net    
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]    
Beginning balance (8,071) 136
Other comprehensive income (loss) before reclassifications 3,666 (6,782)
Amounts reclassified into (income) loss (1,433) (1,425)
Total other comprehensive (loss) income 2,233 (8,207)
Ending balance $ 5,838 $ (8,071)