Income taxes - Narratives (Details) - USD ($) |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2023 |
Jan. 31, 2022 |
Jan. 31, 2021 |
|
| Operating Loss Carryforwards [Line Items] | |||
| Provision for income taxes | $ 483,000 | $ 182,000 | $ 49,000 |
| Effective tax rate (as a percent) | 0.30% | 0.20% | (0.20%) |
| Valuation allowance | $ (143,135,000) | $ (97,279,000) | |
| Increase in valuation allowance | 45,856,000 | ||
| Tax examination, penalties and interest accrued | 0 | ||
| Domestic Tax Authority | |||
| Operating Loss Carryforwards [Line Items] | |||
| Accumulated federal net operating loss carryforward | 493,333,000 | $ 332,544,000 | |
| Foreign Tax Authority | |||
| Operating Loss Carryforwards [Line Items] | |||
| Accumulated federal net operating loss carryforward | $ 716,000 | ||
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Percentage 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
|
| X | ||||||||||
- Definition The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations. 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
|
| X | ||||||||||
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
| X | ||||||||||
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|