v3.26.1
Net Earnings (Loss) Per Share Attributable to Ordinary Shareholders
12 Months Ended
Apr. 30, 2026
Earnings Per Share [Abstract]  
Net Earnings (Loss) Per Share Attributable to Ordinary Shareholders Net Earnings (Loss) Per Share Attributable to Ordinary Shareholders
The following table sets forth the computation of basic and diluted net earnings (loss) per share attributable to ordinary shareholders (in thousands, except share and per share data):
Year Ended April 30,
202620252024
Numerator:
Net income (loss)$367,766 $(108,114)$61,720 
Denominator:
Weighted-average shares used to compute net earnings (loss) per share attributable to ordinary shareholders
Basic105,335,440 103,661,704 99,646,231 
Diluted107,220,768 103,661,704 103,980,132 
Net earnings (loss) per share attributable to ordinary shareholders
Basic$3.49 $(1.04)$0.62 
Diluted$3.43 $(1.04)$0.59 
The following outstanding potentially dilutive ordinary shares were excluded from the computation of diluted net earnings (loss) per share attributable to ordinary shareholders for the periods presented because the impact of including them would have been antidilutive:
Year Ended April 30,
202620252024
Stock options536,368 1,775,723 634,519 
RSUs3,798,106 6,523,077 1,496,213 
ESPP6,405 147,488 4,010 
Total4,340,879 8,446,288 2,134,742