Income taxes - Narratives (Details) - USD ($) |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2024 |
Jan. 31, 2023 |
Jan. 31, 2022 |
|
| Operating Loss Carryforwards [Line Items] | |||
| Provision for income taxes | $ 1,543,000 | $ 483,000 | $ 182,000 |
| Effective tax rate (as a percent) | (1.10%) | (0.30%) | (0.20%) |
| Deferred tax assets, valuation allowance | $ 176,641,000 | $ 143,135,000 | |
| Increase in valuation allowance | 33,506,000 | ||
| Unrecognized tax benefits | 1,240,000 | 0 | |
| Tax examination, penalties and interest accrued | $ 0 | ||
| Research Tax Credit Carryforward | |||
| Operating Loss Carryforwards [Line Items] | |||
| Tax credit carryforward, expiration period | 20 years | ||
| Domestic Tax Authority | |||
| Operating Loss Carryforwards [Line Items] | |||
| Net operating loss carryforward | $ 598,975,000 | $ 493,333,000 | |
| Foreign Tax Authority | |||
| Operating Loss Carryforwards [Line Items] | |||
| Net operating loss carryforward | $ 0 | ||
| X | ||||||||||
- Definition Tax Credit Carryforward, Expiration Period No definition available.
|
| 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 unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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
|
| X | ||||||||||
- Details
|