CONDENSED CONSOLIDATED STATEMENTS OF CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' DEFICIT (Unaudited) - USD ($) shares in Thousands, $ in Thousands | Total | Series A Convertible Preferred Stock | Common Stock Class A Common Stock | Additional Paid-In Capital | Accumulated Other Comprehensive Loss | Accumulated Deficit |
Balance at Jan. 31, 2023 | $ (523,851) | | $ 14 | $ 818,996 | $ (7,065) | $ (1,335,796) |
Temporary equity, Beginning, Shares at Jan. 31, 2023 | | 500 | | | | |
Temporary equity, Balance at Jan. 31, 2023 | | $ 489,990 | | | | |
Balance, Beginning, Shares at Jan. 31, 2023 | | | 144,301 | | | |
Issuance of common stock under employee equity plans, net of shares withheld for employee payroll taxes | (25,835) | | | (25,835) | | |
Issuance of common stock under employee equity plans, net of shares withheld for employee payroll taxes, (in shares) | | | 3,558 | | | |
Stock-based compensation related to stock awards | 108,056 | | | 108,056 | | |
Accretion and dividend on series A convertible preferred stock, net of dividends paid | (8,531) | $ 1,031 | | (8,531) | | |
Repurchases of common stock | (105,475) | | | (105,475) | | |
Repurchases of common stock (in shares) | | | (3,814) | | | |
Other comprehensive income (loss) | (469) | | | | (469) | |
Net income | 19,141 | | | | | 19,141 |
Balance at Jul. 31, 2023 | (536,964) | | $ 14 | 787,211 | (7,534) | (1,316,655) |
Temporary equity, Ending, Shares at Jul. 31, 2023 | | 500 | | | | |
Temporary equity, Balance at Jul. 31, 2023 | | $ 491,021 | | | | |
Balance, Ending, Shares at Jul. 31, 2023 | | | 144,045 | | | |
Balance at Apr. 30, 2023 | (512,085) | | $ 14 | 822,366 | (7,019) | (1,327,446) |
Temporary equity, Beginning, Shares at Apr. 30, 2023 | | 500 | | | | |
Temporary equity, Balance at Apr. 30, 2023 | | $ 490,464 | | | | |
Balance, Beginning, Shares at Apr. 30, 2023 | | | 144,828 | | | |
Issuance of common stock under employee equity plans, net of shares withheld for employee payroll taxes | (21,416) | | | (21,416) | | |
Issuance of common stock under employee equity plans, net of shares withheld for employee payroll taxes, (in shares) | | | 1,372 | | | |
Stock-based compensation related to stock awards | 52,148 | | | 52,148 | | |
Accretion and dividend on series A convertible preferred stock, net of dividends paid | (4,307) | $ 557 | | (4,307) | | |
Repurchases of common stock | (61,580) | | | (61,580) | | |
Repurchases of common stock (in shares) | | | (2,155) | | | |
Other comprehensive income (loss) | (515) | | | | (515) | |
Net income | 10,791 | | | | | 10,791 |
Balance at Jul. 31, 2023 | (536,964) | | $ 14 | 787,211 | (7,534) | (1,316,655) |
Temporary equity, Ending, Shares at Jul. 31, 2023 | | 500 | | | | |
Temporary equity, Balance at Jul. 31, 2023 | | $ 491,021 | | | | |
Balance, Ending, Shares at Jul. 31, 2023 | | | 144,045 | | | |
Balance at Jan. 31, 2024 | $ (431,062) | | $ 14 | 785,374 | (9,686) | (1,206,764) |
Temporary equity, Beginning, Shares at Jan. 31, 2024 | 500 | 500 | | | | |
Temporary equity, Balance at Jan. 31, 2024 | $ 492,095 | $ 492,095 | | | | |
Balance, Beginning, Shares at Jan. 31, 2024 | | | 144,353 | | | |
Issuance of common stock under employee equity plans, net of shares withheld for employee payroll taxes | (6,752) | | $ 1 | (6,753) | | |
Issuance of common stock under employee equity plans, net of shares withheld for employee payroll taxes, (in shares) | | | 4,129 | | | |
Stock-based compensation related to stock awards | 109,417 | | | 109,417 | | |
Accretion and dividend on series A convertible preferred stock, net of dividends paid | (8,550) | $ 1,050 | | (8,550) | | |
Repurchases of common stock | (139,197) | | $ (1) | (139,196) | | |
Repurchases of common stock (in shares) | | | (5,254) | | | |
Other comprehensive income (loss) | (973) | | | | (973) | |
Net income | 37,718 | | | | | 37,718 |
Balance at Jul. 31, 2024 | $ (439,399) | | $ 14 | 740,292 | (10,659) | (1,169,046) |
Temporary equity, Ending, Shares at Jul. 31, 2024 | 500 | 500 | | | | |
Temporary equity, Balance at Jul. 31, 2024 | $ 493,145 | $ 493,145 | | | | |
Balance, Ending, Shares at Jul. 31, 2024 | | | 143,228 | | | |
Balance at Apr. 30, 2024 | (397,874) | | $ 15 | 803,449 | (11,796) | (1,189,542) |
Temporary equity, Beginning, Shares at Apr. 30, 2024 | | 500 | | | | |
Temporary equity, Balance at Apr. 30, 2024 | | $ 492,585 | | | | |
Balance, Beginning, Shares at Apr. 30, 2024 | | | 145,588 | | | |
Issuance of common stock under employee equity plans, net of shares withheld for employee payroll taxes | (10,674) | | $ 0 | (10,674) | | |
Issuance of common stock under employee equity plans, net of shares withheld for employee payroll taxes, (in shares) | | | 1,521 | | | |
Stock-based compensation related to stock awards | 53,783 | | | 53,783 | | |
Accretion and dividend on series A convertible preferred stock, net of dividends paid | (4,310) | $ 560 | | (4,310) | | |
Repurchases of common stock | (101,957) | | $ (1) | (101,956) | | |
Repurchases of common stock (in shares) | | | (3,881) | | | |
Other comprehensive income (loss) | 1,137 | | | | 1,137 | |
Net income | 20,496 | | | | | 20,496 |
Balance at Jul. 31, 2024 | $ (439,399) | | $ 14 | $ 740,292 | $ (10,659) | $ (1,169,046) |
Temporary equity, Ending, Shares at Jul. 31, 2024 | 500 | 500 | | | | |
Temporary equity, Balance at Jul. 31, 2024 | $ 493,145 | $ 493,145 | | | | |
Balance, Ending, Shares at Jul. 31, 2024 | | | 143,228 | | | |