Income Taxes - Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2024 |
Jan. 31, 2023 |
Jan. 31, 2022 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | |||
| Unrecognized tax benefits, beginning balance | $ 36,901 | $ 26,324 | $ 24,447 |
| Increases in prior period tax positions | 4,757 | 186 | |
| Decreases in prior period tax positions | (1,321) | (2,122) | (9,772) |
| Increases in current period tax positions | 18,538 | 12,699 | 11,463 |
| Unrecognized tax benefits, ending balance | $ 58,875 | $ 36,901 | $ 26,324 |