CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS’ EQUITY (DEFICIT) - USD ($) $ in Thousands | Total | Common Stock | Additional Paid-In Capital | Treasury Stock | Accumulated Other Comprehensive Loss | Accumulated Deficit |
Beginning balance (in shares) at Jan. 31, 2022 | | 67,444,360 | | | | |
Beginning balance at Jan. 31, 2022 | $ 666,700 | $ 67 | $ 1,860,514 | $ (1,319) | $ (2,928) | $ (1,189,634) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock option exercises (in shares) | | 235,517 | | | | |
Stock option exercises | 1,656 | | 1,656 | | | |
Vesting of restricted stock units (in shares) | | 381,178 | | | | |
Vesting of restricted stock units | 1 | $ 1 | | | | |
Stock-based compensation | 83,566 | | 83,566 | | | |
Conversion of 2024 convertible senior notes (in shares) | | 8 | | | | |
Conversion of convertible senior notes | 1 | | 1 | | | |
Unrealized (loss) gain on available-for-sale securities | (2,364) | | | | (2,364) | |
Foreign currency translation adjustment | 613 | | | | 613 | |
Net loss | (77,294) | | | | | (77,294) |
Ending balance (in shares) at Apr. 30, 2022 | | 68,061,063 | | | | |
Ending balance at Apr. 30, 2022 | 672,879 | $ 68 | 1,945,737 | (1,319) | (4,679) | (1,266,928) |
Beginning balance (in shares) at Jan. 31, 2022 | | 67,444,360 | | | | |
Beginning balance at Jan. 31, 2022 | 666,700 | $ 67 | 1,860,514 | (1,319) | (2,928) | (1,189,634) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Unrealized (loss) gain on available-for-sale securities | (1,201) | | | | | |
Foreign currency translation adjustment | (65) | | | | | |
Net loss | (196,159) | | | | | |
Ending balance (in shares) at Jul. 31, 2022 | | 68,686,516 | | | | |
Ending balance at Jul. 31, 2022 | 668,168 | $ 69 | 2,059,405 | (1,319) | (4,194) | (1,385,793) |
Beginning balance (in shares) at Apr. 30, 2022 | | 68,061,063 | | | | |
Beginning balance at Apr. 30, 2022 | 672,879 | $ 68 | 1,945,737 | (1,319) | (4,679) | (1,266,928) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock option exercises (in shares) | | 163,986 | | | | |
Stock option exercises | 1,332 | | 1,332 | | | |
Vesting of restricted stock units (in shares) | | 388,483 | | | | |
Vesting of restricted stock units | 1 | $ 1 | | | | |
Stock-based compensation | 96,554 | | 96,554 | | | |
Conversion of 2024 convertible senior notes (in shares) | | 18 | | | | |
Conversion of convertible senior notes | 5 | | 5 | | | |
Issuance of common stock under the Employee Stock Purchase Plan (in shares) | | 72,966 | | | | |
Issuance of common stock under the Employee Stock Purchase Plan | 15,777 | | 15,777 | | | |
Unrealized (loss) gain on available-for-sale securities | 1,163 | | | | 1,163 | |
Foreign currency translation adjustment | (678) | | | | (678) | |
Net loss | (118,865) | | | | | (118,865) |
Ending balance (in shares) at Jul. 31, 2022 | | 68,686,516 | | | | |
Ending balance at Jul. 31, 2022 | $ 668,168 | $ 69 | 2,059,405 | (1,319) | (4,194) | (1,385,793) |
Beginning balance (in shares) at Jan. 31, 2023 | 69,906,586 | 69,906,586 | | | | |
Beginning balance at Jan. 31, 2023 | $ 739,508 | $ 70 | 2,276,694 | (1,319) | (905) | (1,535,032) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock option exercises (in shares) | | 213,713 | | | | |
Stock option exercises | 1,472 | | 1,472 | | | |
Vesting of restricted stock units (in shares) | | 388,017 | | | | |
Vesting of restricted stock units | 1 | $ 1 | | | | |
Vesting of performance stock units (in shares) | | 22,991 | | | | |
Stock-based compensation | 103,955 | | 103,955 | | | |
Unrealized (loss) gain on available-for-sale securities | 818 | | | | 818 | |
Foreign currency translation adjustment | 921 | | | | 921 | |
Net loss | (54,246) | | | | | (54,246) |
Ending balance (in shares) at Apr. 30, 2023 | | 70,531,307 | | | | |
Ending balance at Apr. 30, 2023 | $ 792,429 | $ 71 | 2,382,121 | (1,319) | 834 | (1,589,278) |
Beginning balance (in shares) at Jan. 31, 2023 | 69,906,586 | 69,906,586 | | | | |
Beginning balance at Jan. 31, 2023 | $ 739,508 | $ 70 | 2,276,694 | (1,319) | (905) | (1,535,032) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock option exercises (in shares) | 479,190 | | | | | |
Unrealized (loss) gain on available-for-sale securities | $ (5,163) | | | | | |
Foreign currency translation adjustment | 2,026 | | | | | |
Net loss | $ (91,843) | | | | | |
Ending balance (in shares) at Jul. 31, 2023 | 71,343,385 | 71,343,385 | | | | |
Ending balance at Jul. 31, 2023 | $ 885,085 | $ 72 | 2,517,249 | (1,319) | (4,042) | (1,626,875) |
Beginning balance (in shares) at Apr. 30, 2023 | | 70,531,307 | | | | |
Beginning balance at Apr. 30, 2023 | 792,429 | $ 71 | 2,382,121 | (1,319) | 834 | (1,589,278) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock option exercises (in shares) | | 265,477 | | | | |
Stock option exercises | 2,036 | $ 1 | 2,035 | | | |
Vesting of restricted stock units (in shares) | | 432,093 | | | | |
Stock-based compensation | 113,312 | | 113,312 | | | |
Issuance of common stock under the Employee Stock Purchase Plan (in shares) | | 114,508 | | | | |
Issuance of common stock under the Employee Stock Purchase Plan | 19,781 | | 19,781 | | | |
Unrealized (loss) gain on available-for-sale securities | (5,981) | | | | (5,981) | |
Foreign currency translation adjustment | 1,105 | | | | 1,105 | |
Net loss | $ (37,597) | | | | | (37,597) |
Ending balance (in shares) at Jul. 31, 2023 | 71,343,385 | 71,343,385 | | | | |
Ending balance at Jul. 31, 2023 | $ 885,085 | $ 72 | $ 2,517,249 | $ (1,319) | $ (4,042) | $ (1,626,875) |