Income taxes - Components of tax (benefit) (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2021 |
Jan. 31, 2020 |
Jan. 31, 2019 |
|
| Current tax | |||
| Federal | $ 0 | $ 0 | |
| State | 114 | ||
| Foreign | 0 | (1,005) | |
| Deferred tax | |||
| Federal | (116) | 0 | |
| State | (65) | ||
| Foreign | 116 | (775) | |
| Total income tax expense (benefit) | $ 49 | $ (1,780) | $ 0 |
| X | ||||||||||
- Definition Amount of current federal tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of current foreign income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of current state and local tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred federal income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred foreign income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred state and local tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|