Income Taxes - Additional Information (Details) - USD ($) $ in Thousands |
12 Months Ended | |||
|---|---|---|---|---|
Jan. 31, 2025 |
Jan. 31, 2024 |
Jan. 31, 2023 |
Jan. 31, 2022 |
|
| Tax Credit Carryforward [Line Items] | ||||
| Unrecognized tax benefits | $ 56,334 | $ 41,772 | $ 30,404 | $ 19,171 |
| Unrecognized tax benefits, if recognized, would impact effective tax rate | 66,000 | 46,500 | 32,500 | |
| Interest and penalties | 9,700 | $ 4,700 | $ 1,600 | |
| Federal Income Tax | ||||
| Tax Credit Carryforward [Line Items] | ||||
| Operating loss carryforward | 1,800 | |||
| Federal Income Tax | Research and Development Credit Carryforward | ||||
| Tax Credit Carryforward [Line Items] | ||||
| Tax credit carryforward | 1,200 | |||
| State Income Tax | ||||
| Tax Credit Carryforward [Line Items] | ||||
| Operating loss carryforward | 12,500 | |||
| State Income Tax | Research and Development Credit Carryforward | ||||
| Tax Credit Carryforward [Line Items] | ||||
| Tax credit carryforward | 23,400 | |||
| Foreign Tax | ||||
| Tax Credit Carryforward [Line Items] | ||||
| Operating loss carryforward | $ 22,400 | |||