v3.26.1
Net Income (Loss) Per Share Attributable To Common Stockholders - Schedule of Potentially Dilutive Securities Excluded from Diluted Net Loss Per Share Calculation (Details) - shares
shares in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Potentially dilutive securities excluded from calculation of diluted net loss per share (in shares) 20,813 21,737 9,067
Employee stock purchase plan      
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Potentially dilutive securities excluded from calculation of diluted net loss per share (in shares) 8,743 9,511 6,641
Convertible senior notes      
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Potentially dilutive securities excluded from calculation of diluted net loss per share (in shares) 12,070 12,226 2,426