Net income (loss) per share of Ordinary shares - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details) - shares |
3 Months Ended | |
|---|---|---|
Sep. 30, 2026 |
Sep. 30, 2025 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total antidilutive securities (in shares) | 193,995,967 | 4,899,476 |
| Stock options | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total antidilutive securities (in shares) | 5,050,763 | 4,832,406 |
| Restricted stock units | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total antidilutive securities (in shares) | 31,720,097 | 67,070 |
| Investment Rights | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total antidilutive securities (in shares) | 30,000,000 | 0 |
| Convertible notes | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total antidilutive securities (in shares) | 127,225,107 | 0 |