XML 10 R49.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Stock-Based Compensation - Narrative (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2020
USD ($)
$ / shares
shares
Jan. 31, 2019
USD ($)
Jan. 31, 2020
USD ($)
vote
$ / shares
shares
Jan. 31, 2019
USD ($)
shares
Jul. 31, 2019
USD ($)
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares available for issuance (in shares) | shares 25,100,000   25,100,000    
Shares available for grant (in shares) | shares 20,600,000   20,600,000    
Exercised, aggregate intrinsic value     $ 62,182    
Granted (in shares) | shares     150,000    
Vesting of early exercised common stock options $ 131 $ 277 $ 262 $ 567  
Outstanding notes receivable, carrying amount   1,900   1,900  
Interest receivable   200   200  
Unrecognized compensation cost 239,700   $ 239,700    
Unrecognized compensation cost, weighted-average     2 years 10 months 24 days    
Capitalized stock-based compensation $ 2,000   $ 1,200    
Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Exercised, aggregate intrinsic value     $ 62,200 $ 129,600  
Weighted average grant date fair value (in dollars per share) | $ / shares     $ 22.76    
Granted (in shares) | shares       0  
Restricted stock units          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period     4 years    
Performance stock units          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Performance shares outstanding (in shares) | shares 400,000   400,000    
Employee Stock | 2018 Employee Stock Purchase Plan          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares available for issuance (in shares) | shares 4,700,000   4,700,000    
Shares available for grant (in shares) | shares 3,300,000   3,300,000    
Duration of offering period     24 months    
Number of purchases periods | vote     4    
Duration of purchase periods     6 months    
Shares issued (in shares) | shares 300,000        
Average purchase price per share (in dollars per share) | $ / shares $ 18.80   $ 18.80    
Cash proceeds from the issuance of common stock     $ 5,300    
Accrued compensation $ 2,600   $ 2,600   $ 2,100
Vesting one year from vesting commencing date | Restricted stock units          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting rights, percentage     25.00%    
Additional Paid-In Capital          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting of early exercised common stock options $ 131 $ 277 $ 262 $ 567  
Common Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Common stock subject to repurchase (in shares) | shares 63,000   63,000   122,000
Shares subject to repurchase, value $ 300   $ 300   $ 600