CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (Unaudited) - USD ($) shares in Thousands, $ in Thousands | Total | Cumulative Adjustment | Common Stock | Additional Paid-In Capital | Additional Paid-In CapitalCumulative Adjustment | Treasury Stock | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit | Accumulated DeficitCumulative Adjustment |
Beginning balance (in shares) at Jan. 31, 2020 | | | 181,254 | | | | | | |
Beginning balance at Jan. 31, 2020 | $ 546,327 | | $ 18 | $ 1,685,167 | | | $ (1,673) | $ (1,137,185) | |
Ending balance (in shares) at Apr. 30, 2020 | | | 183,428 | | | | | | |
Ending balance at Apr. 30, 2020 | $ 522,788 | | $ 18 | 1,714,462 | | | (6,703) | (1,184,989) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Accounting Standards Update [Extensible List] | | | | | | | | | |
Beginning balance (in shares) at Jan. 31, 2020 | | | 181,254 | | | | | | |
Beginning balance at Jan. 31, 2020 | $ 546,327 | | $ 18 | 1,685,167 | | | (1,673) | (1,137,185) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Exercise of stock options (in shares) | | | 1,300 | | | | | | |
Exercise of stock options | 13,038 | | | 13,038 | | | | | |
Settlement of restricted stock units (in shares) | | | 2,080 | | | | | | |
Settlement of restricted stock units | 0 | | $ 1 | (1) | | | | | |
Tax withholding on net share settlement of restricted stock units | (136,172) | | | (136,172) | | | | | |
Employee stock purchase plan (in shares) | | | 256 | | | | | | |
Employee stock purchase plan | 13,590 | | | 13,590 | | | | | |
issuance of shares as consideration for acquisition (in shares) | | | 247 | | | | | | |
Issuance of shares as consideration for acquisition | 48,361 | | | 48,361 | | | | | |
Employee stock-based compensation expense | 125,340 | | | 125,340 | | | | | |
Net loss | (112,364) | | | | | | | (112,364) | |
Other comprehensive income (loss), net | 3,771 | | | | | | 3,771 | | |
Ending balance (in shares) at Jul. 31, 2020 | | | 185,137 | | | | | | |
Ending balance at Jul. 31, 2020 | 501,891 | | $ 19 | 1,749,323 | | | 2,098 | (1,249,549) | |
Beginning balance (in shares) at Apr. 30, 2020 | | | 183,428 | | | | | | |
Beginning balance at Apr. 30, 2020 | 522,788 | | $ 18 | 1,714,462 | | | (6,703) | (1,184,989) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Exercise of stock options (in shares) | | | 460 | | | | | | |
Exercise of stock options | 5,403 | | | 5,403 | | | | | |
Settlement of restricted stock units (in shares) | | | 1,002 | | | | | | |
Settlement of restricted stock units | 0 | | $ 1 | (1) | | | | | |
Tax withholding on net share settlement of restricted stock units | (89,449) | | | (89,449) | | | | | |
issuance of shares as consideration for acquisition (in shares) | | | 247 | | | | | | |
Issuance of shares as consideration for acquisition | 48,361 | | | 48,361 | | | | | |
Employee stock-based compensation expense | 70,547 | | | 70,547 | | | | | |
Net loss | (64,560) | | | | | | | (64,560) | |
Other comprehensive income (loss), net | 8,801 | | | | | | 8,801 | | |
Ending balance (in shares) at Jul. 31, 2020 | | | 185,137 | | | | | | |
Ending balance at Jul. 31, 2020 | 501,891 | | $ 19 | 1,749,323 | | | 2,098 | (1,249,549) | |
Beginning balance (in shares) at Jan. 31, 2021 | | | 192,807 | | | | | | |
Beginning balance at Jan. 31, 2021 | $ 325,737 | $ (73,905) | $ 19 | 1,702,254 | $ (86,144) | $ (1,048) | 4,964 | (1,380,452) | $ 12,239 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Settlement of convertible senior notes due 2023 (in shares) | 600 | | 586 | | | | | | |
Settlement of convertible senior notes due in 2023 | $ (724) | | $ 1 | (725) | | | | | |
Exercise of stock options (in shares) | 1,112 | | 1,112 | | | | | | |
Exercise of stock options | $ 11,818 | | | 11,818 | | | | | |
Settlement of restricted stock units (in shares) | | | 1,820 | | | | | | |
Tax withholding on net share settlement of restricted stock units | (228,065) | | | (227,894) | | (171) | | | |
Employee stock purchase plan (in shares) | | | 132 | | | | | | |
Employee stock purchase plan | 23,167 | | | 23,167 | | | | | |
Charitable donation of common stock | 3,000 | | | 3,000 | | | | | |
Charitable donation of common stock (in shares) | | | 10 | | | | | | |
Employee stock-based compensation expense | 186,421 | | | 186,421 | | | | | |
Net loss | (33,855) | | | | | | | (33,855) | |
Other comprehensive income (loss), net | (1,718) | | | | | | (1,718) | | |
Ending balance (in shares) at Jul. 31, 2021 | | | 196,467 | | | | | | |
Ending balance at Jul. 31, 2021 | 211,876 | | $ 20 | 1,611,897 | | (1,219) | 3,246 | (1,402,068) | |
Beginning balance (in shares) at Apr. 30, 2021 | | | 194,734 | | | | | | |
Beginning balance at Apr. 30, 2021 | 243,237 | | $ 19 | 1,615,646 | | (1,219) | 5,358 | (1,376,567) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Settlement of convertible senior notes due 2023 (in shares) | | | 234 | | | | | | |
Settlement of convertible senior notes due in 2023 | (278) | | $ 1 | (279) | | | | | |
Exercise of stock options (in shares) | | | 624 | | | | | | |
Exercise of stock options | 5,202 | | | 5,202 | | | | | |
Settlement of restricted stock units (in shares) | | | 865 | | | | | | |
Tax withholding on net share settlement of restricted stock units | (114,481) | | | (114,481) | | | | | |
Charitable donation of common stock | 3,000 | | | 3,000 | | | | | |
Charitable donation of common stock (in shares) | | | 10 | | | | | | |
Employee stock-based compensation expense | 102,809 | | | 102,809 | | | | | |
Net loss | (25,501) | | | | | | | (25,501) | |
Other comprehensive income (loss), net | (2,112) | | | | | | (2,112) | | |
Ending balance (in shares) at Jul. 31, 2021 | | | 196,467 | | | | | | |
Ending balance at Jul. 31, 2021 | $ 211,876 | | $ 20 | $ 1,611,897 | | $ (1,219) | $ 3,246 | $ (1,402,068) | |