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, 2022 | | 182,167 | | | |
Beginning balance at Jan. 31, 2022 | $ 1,282,291 | $ 3 | $ 1,788,390 | | $ (506,102) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 839 | | | |
Issuance of common stock upon exercise of stock options | 521 | | 521 | | |
Vesting of early exercised stock options | 3 | | 3 | | |
Issuance of common stock upon settlement of restricted stock units (in shares) | | 710 | | | |
Tax withholdings on settlement of restricted stock units (in shares) | | (8) | | | |
Tax withholdings on settlement of restricted stock units | (125) | | (125) | | |
Stock-based compensation | 47,141 | | 47,141 | | |
Net loss | (78,217) | | | | (78,217) |
Ending balance (in shares) at Apr. 30, 2022 | | 183,708 | | | |
Ending balance at Apr. 30, 2022 | 1,251,614 | $ 3 | 1,835,930 | | (584,319) |
Beginning balance (in shares) at Jan. 31, 2022 | | 182,167 | | | |
Beginning balance at Jan. 31, 2022 | 1,282,291 | $ 3 | 1,788,390 | | (506,102) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Other comprehensive loss | 0 | | | | |
Net loss | (224,939) | | | | |
Ending balance (in shares) at Oct. 31, 2022 | | 187,841 | | | |
Ending balance at Oct. 31, 2022 | 1,207,206 | $ 3 | 1,938,244 | | (731,041) |
Beginning balance (in shares) at Apr. 30, 2022 | | 183,708 | | | |
Beginning balance at Apr. 30, 2022 | 1,251,614 | $ 3 | 1,835,930 | | (584,319) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 786 | | | |
Issuance of common stock upon exercise of stock options | 1,645 | | 1,645 | | |
Vesting of early exercised stock options | 2 | | 2 | | |
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 | (77) | | (77) | | |
Issuance of common stock under employee stock purchase plan (in shares) | | 351 | | | |
Issuance of common stock under employee stock purchase plan | 8,501 | | 8,501 | | |
Stock-based compensation | 43,309 | | 43,309 | | |
Net loss | (74,764) | | | | (74,764) |
Ending balance (in shares) at Jul. 31, 2022 | | 186,320 | | | |
Ending balance at Jul. 31, 2022 | 1,230,230 | $ 3 | 1,889,310 | | (659,083) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 491 | | | |
Issuance of common stock upon exercise of stock options | 989 | | 989 | | |
Vesting of early exercised stock options | 1 | | 1 | | |
Issuance of common stock upon settlement of restricted stock units (in shares) | | 1,032 | | | |
Tax withholdings on settlement of restricted stock units (in shares) | | (2) | | | |
Tax withholdings on settlement of restricted stock units | (20) | | (20) | | |
Stock-based compensation | 47,964 | | 47,964 | | |
Other comprehensive loss | 0 | | | | |
Net loss | (71,958) | | | | (71,958) |
Ending balance (in shares) at Oct. 31, 2022 | | 187,841 | | | |
Ending balance at Oct. 31, 2022 | 1,207,206 | $ 3 | 1,938,244 | | (731,041) |
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 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 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 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 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) |