CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY - USD ($) shares in Thousands, $ in Thousands | Total | Class A and Class B Common Stock | Additional Paid-in Capital | Accumulated Other Comprehensive Loss | Accumulated Deficit |
Beginning balance (in shares) at Jan. 31, 2023 | | 189,968 | | | |
Beginning balance at Jan. 31, 2023 | $ 1,205,350 | $ 3 | $ 1,985,747 | $ 0 | $ (780,400) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 513 | | | |
Issuance of common stock upon exercise of stock options | 1,013 | | 1,013 | | |
Issuance of common stock upon settlement of restricted stock units (in shares) | | 1,071 | | | |
Tax withholdings on settlement of restricted stock units | (9) | | (9) | | |
Stock-based compensation | 41,266 | | 41,266 | | |
Other comprehensive income (loss) | (66) | | | (66) | |
Net loss | (53,258) | | | | (53,258) |
Ending balance (in shares) at Apr. 30, 2023 | | 191,552 | | | |
Ending balance at Apr. 30, 2023 | 1,194,296 | $ 3 | 2,028,017 | (66) | (833,658) |
Beginning balance (in shares) at Jan. 31, 2023 | | 189,968 | | | |
Beginning balance at Jan. 31, 2023 | 1,205,350 | $ 3 | 1,985,747 | 0 | (780,400) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Other comprehensive income (loss) | (1,216) | | | | |
Net loss | (159,046) | | | | |
Ending balance (in shares) at Oct. 31, 2023 | | 195,528 | | | |
Ending balance at Oct. 31, 2023 | 1,191,723 | $ 3 | 2,132,382 | (1,216) | (939,446) |
Beginning balance (in shares) at Apr. 30, 2023 | | 191,552 | | | |
Beginning balance at Apr. 30, 2023 | 1,194,296 | $ 3 | 2,028,017 | (66) | (833,658) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 366 | | | |
Issuance of common stock upon exercise of stock options | 442 | | 442 | | |
Issuance of common stock upon settlement of restricted stock units (in shares) | | 1,307 | | | |
Tax withholdings on settlement of restricted stock units (in shares) | | (5) | | | |
Tax withholdings on settlement of restricted stock units | (215) | | (215) | | |
Issuance of common stock under employee stock purchase plan (in shares) | | 426 | | | |
Issuance of common stock under employee stock purchase plan | 10,195 | | 10,195 | | |
Stock-based compensation | 47,471 | | 47,471 | | |
Other comprehensive income (loss) | (962) | | | (962) | |
Net loss | (66,315) | | | | (66,315) |
Ending balance (in shares) at Jul. 31, 2023 | | 193,646 | | | |
Ending balance at Jul. 31, 2023 | 1,184,912 | $ 3 | 2,085,910 | (1,028) | (899,973) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 407 | | | |
Issuance of common stock upon exercise of stock options | 1,488 | | 1,488 | | |
Issuance of common stock upon settlement of restricted stock units (in shares) | | 1,477 | | | |
Tax withholdings on settlement of restricted stock units (in shares) | | (2) | | | |
Tax withholdings on settlement of restricted stock units | (12) | | (12) | | |
Stock-based compensation | 44,996 | | 44,996 | | |
Other comprehensive income (loss) | (188) | | | (188) | |
Net loss | (39,473) | | | | (39,473) |
Ending balance (in shares) at Oct. 31, 2023 | | 195,528 | | | |
Ending balance at Oct. 31, 2023 | 1,191,723 | $ 3 | 2,132,382 | (1,216) | (939,446) |
Beginning balance (in shares) at Jan. 31, 2024 | | 199,254 | | | |
Beginning balance at Jan. 31, 2024 | 1,212,993 | $ 3 | 2,184,451 | (393) | (971,068) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 464 | | | |
Issuance of common stock upon exercise of stock options | 1,681 | | 1,681 | | |
Issuance of common stock upon settlement of restricted stock units (in shares) | | 1,253 | | | |
Tax withholdings on settlement of restricted stock units (in shares) | | (1) | | | |
Tax withholdings on settlement of restricted stock units | (31) | | (31) | | |
Stock-based compensation | 49,707 | | 49,707 | | |
Other comprehensive income (loss) | (1,643) | | | (1,643) | |
Net loss | (51,128) | | | | (51,128) |
Ending balance (in shares) at Apr. 30, 2024 | | 200,970 | | | |
Ending balance at Apr. 30, 2024 | 1,211,579 | $ 3 | 2,235,808 | (2,036) | (1,022,196) |
Beginning balance (in shares) at Jan. 31, 2024 | | 199,254 | | | |
Beginning balance at Jan. 31, 2024 | 1,212,993 | $ 3 | 2,184,451 | (393) | (971,068) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Other comprehensive income (loss) | 771 | | | | |
Net loss | (90,596) | | | | |
Ending balance (in shares) at Oct. 31, 2024 | | 204,271 | | | |
Ending balance at Oct. 31, 2024 | 1,257,665 | $ 3 | 2,318,947 | 379 | (1,061,664) |
Beginning balance (in shares) at Apr. 30, 2024 | | 200,970 | | | |
Beginning balance at Apr. 30, 2024 | 1,211,579 | $ 3 | 2,235,808 | (2,036) | (1,022,196) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 372 | | | |
Issuance of common stock upon exercise of stock options | 985 | | 985 | | |
Issuance of common stock upon settlement of restricted stock units (in shares) | | 1,169 | | | |
Tax withholdings on settlement of restricted stock units (in shares) | | (1) | | | |
Tax withholdings on settlement of restricted stock units | (21) | | (21) | | |
Issuance of common stock under employee stock purchase plan (in shares) | | 342 | | | |
Issuance of common stock under employee stock purchase plan | 6,661 | | 6,661 | | |
Stock-based compensation | 39,171 | | 39,171 | | |
Other comprehensive income (loss) | 2,019 | | | 2,019 | |
Net loss | (26,462) | | | | (26,462) |
Ending balance (in shares) at Jul. 31, 2024 | | 202,852 | | | |
Ending balance at Jul. 31, 2024 | 1,233,932 | $ 3 | 2,282,604 | (17) | (1,048,658) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 165 | | | |
Issuance of common stock upon exercise of stock options | 1,151 | | 1,151 | | |
Issuance of common stock upon settlement of restricted stock units (in shares) | | 1,255 | | | |
Tax withholdings on settlement of restricted stock units (in shares) | | (1) | | | |
Tax withholdings on settlement of restricted stock units | (27) | | (27) | | |
Stock-based compensation | 35,219 | | 35,219 | | |
Other comprehensive income (loss) | 396 | | | 396 | |
Net loss | (13,006) | | | | (13,006) |
Ending balance (in shares) at Oct. 31, 2024 | | 204,271 | | | |
Ending balance at Oct. 31, 2024 | $ 1,257,665 | $ 3 | $ 2,318,947 | $ 379 | $ (1,061,664) |