XML 38 R20.htm IDEA: XBRL DOCUMENT v3.25.1
Net (Loss) Earnings Per Share Attributable to Ordinary Shareholders
12 Months Ended
Apr. 30, 2025
Earnings Per Share [Abstract]  
Net (Loss) Earnings Per Share Attributable to Ordinary Shareholders Net (Loss) Earnings Per Share Attributable to Ordinary Shareholders
The following table sets forth the computation of basic and diluted net (loss) earnings per share attributable to ordinary shareholders (in thousands, except share and per share data):
Year Ended April 30,
202520242023
Numerator:
Net (loss) income$(108,114)$61,720 $(236,161)
Denominator:
Weighted-average shares used to compute net (loss) earnings per share attributable to ordinary shareholders
Basic103,661,704 99,646,231 95,729,844 
Diluted103,661,704 103,980,132 95,729,844 
Net (loss) earnings per share attributable to ordinary shareholders
Basic$(1.04)$0.62 $(2.47)
Diluted$(1.04)$0.59 $(2.47)
The following outstanding potentially dilutive ordinary shares were excluded from the computation of diluted net (loss) earnings per share attributable to ordinary shareholders for the periods presented because the impact of including them would have been antidilutive:
Year Ended April 30,
202520242023
Stock options1,775,723 634,519 4,038,238 
RSUs6,523,077 1,496,213 7,494,399 
2022 ESPP
147,488 4,010 197,077 
Total8,446,288 2,134,742 11,729,714