Derivative Contracts (Tables)
|
12 Months Ended |
Jun. 30, 2026 |
| Derivative Instruments and Hedging Activities Disclosure [Abstract] |
|
| Schedule of Notional Amounts of Outstanding Derivative Positions |
The following table sets forth the notional amounts of the Company’s hedging derivative instruments as of June 30, 2026 (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notional Amounts of Derivative Instruments | | Notional Amount by Term to Maturity | | Classification by Notional Amount | | Under 12 months | | Over 12 months | | Total | | Cash Flow Hedge | | Non Hedge | | Total | | Forward contracts | $ | 1,030,684 | | | $ | 62,031 | | $ | 1,092,715 | | $ | 704,613 | | $ | 388,102 | | | $ | 1,092,715 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
The following table sets forth the notional amounts of the Company’s hedging derivative instruments as of June 30, 2025 (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notional Amounts of Derivative Instruments | | Notional Amount by Term to Maturity | | Classification by Notional Amount | | Under 12 months | | Over 12 months | | Total | | Cash Flow Hedge | | Non Hedge | | Total | | Forward contracts | $ | 1,064,280 | | | $ | 79,858 | | $ | 1,144,138 | | $ | 765,613 | | $ | 378,525 | | | $ | 1,144,138 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
|
| Schedule of Fair Value of Derivative Instruments |
The fair value of the Company’s derivative instruments were as follows (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | As of June 30, | | | Balance Sheet Location | | 2026 | | 2025 | | Derivative assets | | | | | | | | Derivatives designated as hedging instruments: | | | | | | Foreign exchange forward contracts | | Prepaid expenses and other current assets | | $ | 17,110 | | | $ | 16,210 | | | Foreign exchange forward contracts | | Other non-current assets | | 156 | | | 3,715 | | | Derivatives not designated as hedging instruments: | | | | | | Foreign exchange forward contracts | | Prepaid expenses and other current assets | | 240 | | | 3,309 | | | Total derivative assets | | | | $ | 17,506 | | | $ | 23,234 | | | Derivative liabilities | | | | | | | | Derivatives designated as hedging instruments: | | | | | | Foreign exchange forward contracts | | Accrued expenses and other current liabilities | | $ | 10,085 | | | $ | 2,409 | | | Foreign exchange forward contracts | | Other non-current liabilities | | 988 | | | — | | | Derivatives not designated as hedging instruments: | | | | | | Foreign exchange forward contracts | | Accrued expenses and other current liabilities | | 5,932 | | | 36 | | | Total derivative liabilities | | | | $ | 17,005 | | | $ | 2,445 | |
|
| Schedule of Pre-Tax Effects of Derivatives Designated as Cash Flow Hedging Instruments |
The pre-tax effects of derivatives designated as cash flow hedging instruments on the consolidated financial statements were as follows (in thousands): | | | | | | | | | | | | | | | | | | | | | Fiscal Year Ended June 30, | | 2026 | | 2025 | | 2024 | | | | | | | | Beginning balance of accumulated gains in accumulated other comprehensive loss | $ | 24,679 | | | $ | 41,424 | | | $ | 48,170 | | | Gross unrealized gains (losses) recognized in other comprehensive loss | 7,877 | | | (1,897) | | | 10,826 | | | | | | | | Net losses (gains) reclassified from cash flow hedge in accumulated other comprehensive loss into profit or loss: | | | | | | | Recognized in cost of revenues | 43 | | | 1,447 | | | 1,072 | | | Recognized in research and development | (12,840) | | | 7,194 | | | 7,718 | | | Recognized in marketing and sales | (3,223) | | | 1,027 | | | 1,264 | | | Recognized in general and administrative | (3,033) | | | 1,828 | | | 2,320 | | | Recognized in interest | (7,163) | | | (26,344) | | | (29,946) | | | Ending balance of accumulated gains in accumulated other comprehensive loss | $ | 6,340 | | | $ | 24,679 | | | $ | 41,424 | |
|