Stock-based Compensation - Classification of Stock-based Compensation (Detail) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Stock-based compensation: | ||||
| Total stock-based compensation | $ 22,700 | $ 25,188 | $ 44,593 | $ 51,318 |
| Location, Statement of Income, Balance [Axis]: us-gaap:CostOfGoodsAndServicesSold | ||||
| Stock-based compensation: | ||||
| Total stock-based compensation | 951 | 780 | 1,734 | 1,731 |
| Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense | ||||
| Stock-based compensation: | ||||
| Total stock-based compensation | 14,007 | 16,972 | 27,721 | 34,557 |
| Location, Statement of Income, Balance [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense | ||||
| Stock-based compensation: | ||||
| Total stock-based compensation | $ 7,742 | $ 7,436 | $ 15,138 | $ 15,030 |