Net Loss Per Share Attributable to Common Stockholders
9 Months Ended
Apr. 29, 2023
Earnings Per Share [Abstract]  
Net Loss Per Share Attributable to Common Stockholders Net Loss Per Share Attributable to Common Stockholders
Basic and diluted loss per share attributable to common stockholders is presented in conformity with the two-class method required for participating securities: Class A and Class B common stock. The rights of the holders of Class A and Class B common stock are identical, except with respect to voting, conversion, and transfer rights. Each share of Class A common stock is entitled to one vote per share and each share of Class B common stock is entitled to ten votes per share. Each share of Class B common stock is convertible at any time at the option of the stockholder into one share of Class A common stock.
Basic net loss per share attributable to common stockholders is computed by dividing the net loss attributable to common stockholders by the weighted-average number of common shares outstanding during the period.
For the calculation of diluted loss per share, net loss attributable to common stockholders for basic loss per share is adjusted by the effect of dilutive securities. Diluted net loss per share attributable to common stockholders is computed by dividing the net loss attributable to common stockholders by the weighted-average number of common shares outstanding, including all potentially dilutive common shares. In periods of loss, there are no potentially dilutive common shares to add to the weighted-average number of common shares outstanding. The undistributed earnings are allocated based on the contractual participation rights of the Class A and Class B common shares as if the losses for the year have been distributed. As the liquidation and dividend rights are identical, the undistributed loss is allocated on a proportionate basis.
In January 2022, the Company's Board of Directors authorized a share repurchase program to repurchase up to $150.0 million of our outstanding Class A common stock, with no expiration date (the “2022 Repurchase Program”). The actual timing, number and value of shares repurchased in the future will be determined by the Company in its discretion and will depend on a number of factors, including market conditions, applicable legal requirements, our capital needs, and whether there is a better alternative use of capital.
Repurchases during any given fiscal period under the 2022 Repurchase Program will reduce the number of weighted-average common shares outstanding for the period.
A reconciliation of the numerator and denominator used in the calculation of basic and diluted loss per share attributable to Class A and Class B common stockholders is as follows:
 For the Three Months EndedFor the Nine Months Ended
(in thousands, except share and per share amounts)April 29, 2023April 30, 2022April 29, 2023April 30, 2022
Numerator: 
Net loss attributable to Class A and Class B common stockholders$(21,825)$(78,040)$(143,314)$(110,779)
Denominator:  
Weighted-average shares of common stock - basic115,445,285 108,759,202 113,911,089 108,771,065 
Weighted-average shares of common stock - diluted115,445,285 108,759,202 113,911,089 108,771,065 
Loss per share attributable to Class A and Class B common stockholders:  
Basic$(0.19)$(0.72)$(1.26)$(1.02)
Diluted$(0.19)$(0.72)$(1.26)$(1.02)

As the Company has reported net loss for each of the periods presented, all potentially dilutive securities were considered antidilutive. The following common stock equivalents were excluded from the computation of diluted loss per share for the periods presented because including them would have been antidilutive:
 For the Three Months EndedFor the Nine Months Ended
 April 29, 2023April 30, 2022April 29, 2023April 30, 2022
Restricted stock units that settle into Class A common stock13,455,495 16,878,676 13,455,495 16,878,676 
Stock options to purchase Class A common stock5,635,847 3,270,987 5,635,847 3,270,987 
Stock options to purchase Class B common stock833,677 1,129,507 833,677 1,129,507 
Total19,925,019 21,279,170 19,925,019 21,279,170