XML 38 R21.htm IDEA: XBRL DOCUMENT v3.24.1.1.u2
Net Loss Per Share Attributable to Common Stockholders
12 Months Ended
Apr. 30, 2024
Earnings Per Share [Abstract]  
Net Loss Per Share Attributable to Common Stockholders Net Loss Per Share Attributable to Common Stockholders
Basic net loss per share was the same as diluted net loss per share for the periods presented because the Company was in a loss position for fiscal years ended April 30, 2024, 2023 and 2022. For purposes of this calculation, stock options, RSUs, Class A common stock issuable in connection with the 2020 ESPP and early exercised stock options subject to repurchase are considered to be potential common stock equivalents but have been excluded from the calculation of diluted net loss per share attributable to common stockholders as their effect is anti-dilutive.
The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders (in thousands, except per share data):
Fiscal Year Ended April 30,
202420232022
Numerator
Net loss attributable to common stockholders$(279,696)$(268,839)$(192,065)
Denominator
Weighted-average shares used in computing net loss per share attributable to Class A and Class B common stockholders, basic and diluted119,362 109,851 104,404 
Basic and diluted net loss per share attributable to common stockholders
Basic and diluted net loss per Class A and Class B common shares$(2.34)$(2.45)$(1.84)
The potential shares of common stock that were excluded from the computation of diluted net loss per share attributable to common stockholders for the period presented because including them would have had an antidilutive effect were as follows (in thousands):
Fiscal Year Ended April 30,
202420232022
Stock options31,371 34,844 36,712 
RSUs19,283 21,146 12,109 
ESPP731 1,525 —