XML 54 R43.htm IDEA: XBRL DOCUMENT v3.20.2
Stock-based compensation (Stock option activity) (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2020
Oct. 31, 2020
Number of options (shares)    
Opening balance (shares) 2,040 2,040
Granted (shares)   16
Exercised (shares)   (183)
Forfeited (shares)   (10)
Ending balance (shares)   1,863
Vested and expected to vest as of year end (in shares)   1,863
Exercisable as of year end (in shares)   1,584
Range of exercise prices (usd per share)    
Beginning balance, minimum (usd per share) $ 0.10 $ 0.10
Beginning balance, maximum (usd per share) 82.39 82.39
Granted (usd per share)   66.06
Exercised, minimum (usd per share)   0.10
Exercised, maximum (usd per share)   44.53
Forfeited, minimum (usd per share)   25.45
Forfeited, maximum (usd per share)   44.53
Ending balance, minimum (usd per share)   1.25
Ending balance, maximum (usd per share)   82.39
Weighted- average exercise price (usd per share)    
Opening balance (usd per share) $ 30.35 30.35
Granted (usd per share)   66.06
Exercised (usd per share)   24.09
Forfeited (usd per share)   38.02
Ending balance (usd per share)   31.23
Vested and expected to vest as of year end, weighted average exercise price (usd per share)   31.23
Exercisable as of year end, weighted-average exercise price (usd per share)   $ 26.55
Outstanding stock options, weighted average contractual term (in years) 5 years 10 months 24 days 5 years 1 month 6 days
Vested and expected to vest as of year end, weighted average contractual term (in years)   5 years 1 month 6 days
Exercisable as of year end, weighted-average contractual term (in years)   4 years 8 months 12 days
Beginning balance, outstanding stock options, aggregate intrinsic value $ 74,009 $ 74,009
Ending balance, outstanding stock options, aggregate intrinsic value   42,046
Vested and expected to vest as of year end, aggregate intrinsic value (usd per share)   42,046
Exercisable as of year end, aggregate intrinsic value   $ 41,025