v3.24.3
Net Loss Per Share - Schedule of Potentially Diluted Securities Not Included in Calculation of Diluted Shares Outstanding (Details) - shares
3 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Employee stock options    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Shares excluded from calculation of diluted shares outstanding (in shares) 5,995,788 8,703,141
Restricted stock units and awards    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Shares excluded from calculation of diluted shares outstanding (in shares) 671,832 993,473
Convertible senior notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Shares excluded from calculation of diluted shares outstanding (in shares) 76,452,600 0