v3.26.1
Net income (loss) per share of Ordinary shares - Schedule of Reconciliation of the Denominator of the Basic and Diluted Net Income (Loss) Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Numerator:      
Net income (loss) $ (702,621) $ 86,941 $ (28,920)
Numerator for diluted net income (loss) per share of Ordinary shares $ (702,621) $ 86,941 $ (28,920)
Denominator:      
Basic weighted-average shares used in computing net income (loss) per share of Ordinary shares (in shares) 316,123,145 214,586,767 99,640,920
Effects of dilutive securities:      
Dilutive potential Ordinary shares (in shares) 0 8,658,884 0
Diluted weighted-average shares used in computing net income (loss) per share of Ordinary shares (in shares) 316,123,145 223,245,651 99,640,920
Basic net income (loss) per share of Ordinary shares ( in USD per share) $ (2.22) $ 0.41 $ (0.29)
Diluted net income (loss) per share of Ordinary shares (in USD per share) $ (2.22) $ 0.39 $ (0.29)
Stock options      
Effects of dilutive securities:      
Dilutive potential Ordinary shares (in shares) 0 2,054,372 0
Restricted stock units      
Effects of dilutive securities:      
Dilutive potential Ordinary shares (in shares) 0 6,604,512 0