Stock-Based Compensation - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Millions
3 Months Ended 9 Months Ended
Apr. 29, 2023
Apr. 30, 2022
Apr. 29, 2023
Apr. 30, 2022
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Period of average share price     7 days  
Stock-based compensation expense, increase (decrease)     $ (4.4)  
Unrecognized compensation expense related to unvested options and RSUs, net of forfeitures $ 138.6   $ 138.6  
Unrecognized compensation expense related to unvested options weighted average recognition period     2 years 1 month 6 days  
Weighted-average grant date fair value of options (in dollars per share)     $ 2.93 $ 7.16
Employees        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense, increase (decrease) $ 22.6 $ 31.6 $ 80.2 $ 96.3
Stock Options        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Options exercisable period     10 years  
2011 Equity Incentive Plan | Stock Options        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Employee stock options vesting percentage     25.00%  
Award vesting period     3 years  
2017 Incentive Plan | Class A Common Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of shares authorized for issuance (in shares) 38,257,771   38,257,771  
2017 Incentive Plan | Stock Options        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Options exercisable period     10 years  
2017 Incentive Plan | Stock Options | First Anniversary        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting period     6 months  
2017 Incentive Plan | Stock Options | Second Anniversary        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Award vesting period     30 months  
2019 Inducement Plan | Class A Common Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of shares authorized for issuance (in shares) 10,750,000   10,750,000