v3.26.1
Investments (Tables)
12 Months Ended
Jun. 30, 2026
Investments, Debt and Equity Securities [Abstract]  
Schedule of Available-for-Sale Securities Reconciliation
The Company’s investments of marketable securities as of June 30, 2025, consisted of the following (in thousands):
Amortized CostUnrealized GainsUnrealized LossesFair Value
Marketable debt securities
U.S. treasury securities$176,338 $388 $(65)$176,661 
Agency securities3,197 19 — 3,216 
Certificates of deposit and time deposits10,000 — — 10,000 
Commercial paper19,697 — — 19,697 
Corporate debt securities214,190 527 (23)214,694 
Total marketable securities$423,422 $934 $(88)$424,268 
Schedule of Investments Classified by Contractual Maturity Date
The table below summarizes the Company’s marketable securities by remaining contractual maturity as of June 30, 2025 (in thousands):
June 30, 2025
Due in one year or less$271,923 
Due in one year through five years152,345 
Total marketable debt investments$424,268 
Schedule of Strategic Investments
The Company’s investments of privately held debt securities as of June 30, 2026, consisted of the following (in thousands):
Amortized CostUnrealized GainsUnrealized LossesFair Value
Privately held debt securities$7,180 $— $(2,750)$4,430 
The Company’s investments of privately held debt securities as of June 30, 2025, consisted of the following (in thousands):
Amortized CostUnrealized GainsUnrealized LossesFair Value
Privately held debt securities$7,780 $— $(3,350)$4,430 
The carrying values of privately held equity securities as of June 30, 2026 are summarized below (in thousands):
Privately held equity securities
Initial total cost$145,802 
Cumulative net gains
7,034 
Carrying value$152,836 
The carrying values of privately held equity securities as of June 30, 2025 are summarized below (in thousands):
Privately held equity securities
Initial total cost$166,302 
Cumulative net losses(1,909)
Carrying value$164,393 
Schedule of Unrealized Gain (Loss) on Investments
The components of gains and losses on strategic investments were as follows (in thousands):
Fiscal Year Ended June 30,
202620252024
Unrealized gains recognized on privately held equity securities$9,846 $1,549 $2,084 
Unrealized losses recognized on privately held equity securities including impairment(3,820)(967)(1,628)
Unrealized losses on privately held debt securities(250)— (500)
Unrealized gains (losses), net$5,776 $582 $(44)
Realized gains recognized on publicly traded equity securities
14,658 — 515 
Realized gains (losses) recognized on privately held equity securities1,367 (3,142)(2,546)
Realized gains on debt securities
228 — — 
Gains (losses) on strategic investments, net
$22,029 $(2,560)$(2,075)
Unrealized gains recognized during the reporting period on privately held equity securities still held at the reporting date
$6,026 $582 $456 
Schedule of Equity Method Investments
The following table sets forth the carrying amounts of the equity method investment and the movements during fiscal years 2025 and 2026 (in thousands):
Equity Method Investment
Balance as of June 30, 2024$74,510 
Share of losses(20,433)
Effect of change in exchange rates(958)
Balance as of June 30, 2025$53,119 
Effect of change in exchange rates2,762 
Balance as of June 30, 2026$55,881