Commitments and contingencies - Narrative (Details) $ in Thousands |
12 Months Ended | ||||
|---|---|---|---|---|---|
|
Sep. 06, 2018
lawsuit
|
Jun. 22, 2018
lawsuit
|
Jan. 31, 2020
USD ($)
|
Jan. 31, 2019
USD ($)
|
Jan. 31, 2018
USD ($)
|
|
| Commitments and Contingencies Disclosure [Abstract] | |||||
| Sublease income | $ 5,500 | ||||
| Operating Lease, Expense | 9,100 | ||||
| Lease expense for office space | $ 5,500 | $ 4,300 | |||
| Sublease income | $ 750 | ||||
| Number of derivative lawsuits | lawsuit | 2 | 2 | |||