Stock-based compensation (Summary of share based compensation recognized) (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Apr. 30, 2019 |
Apr. 30, 2018 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
| Total stock-based compensation expense | $ 6,028 | $ 4,239 |
| Cost of revenue | ||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
| Total stock-based compensation expense | 860 | 413 |
| Sales and marketing | ||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
| Total stock-based compensation expense | 1,007 | 705 |
| Technology and development | ||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
| Total stock-based compensation expense | 1,499 | 991 |
| General and administrative | ||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||
| Total stock-based compensation expense | $ 2,662 | $ 2,130 |