Condensed Consolidated Statements of Stockholders’ Equity - USD ($) shares in Thousands, $ in Thousands | Total | Common Stock | Additional Paid-in Capital | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit | Restricted Stock UnitsCommon Stock | Restricted Stock UnitsAdditional Paid-in Capital | Restricted Stock | Restricted StockCommon Stock |
Beginning balance (in shares) at Feb. 02, 2020 | | 264,008 | | | | | | | |
Beginning balance at Feb. 02, 2020 | $ 830,118 | $ 26 | $ 2,107,579 | $ 5,449 | $ (1,282,936) | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 4,991 | | | | | | | |
Issuance of common stock upon exercise of stock options | 25,645 | $ 1 | 25,644 | | | | | | |
Stock-based compensation expense | 179,884 | | 179,884 | | | | | | |
Vesting of restricted stock units (in shares) | | | | | | 8,445 | | | |
Vesting of restricted stock units | 0 | | | | | $ 1 | $ (1) | | |
Tax withholding on vesting of restricted stock (in shares) | | (305) | | | | | | | |
Tax withholding on vesting of restricted stock | 4,080 | | 4,080 | | | | | | |
Tax withholding on vesting of equity awards (in shares) | | (305) | | | | | | | |
Tax withholding on vesting of equity awards | (4,080) | | (4,080) | | | | | | |
Common stock issued under employee stock purchase plan (in shares) | | 3,714 | | | | | | | |
Common stock issued under employee stock purchase plan | 32,439 | | 32,439 | | | | | | |
Repurchases of common stock (in shares) | | (8,496) | | | | | | | |
Repurchases of common stock | (111,554) | $ (1) | (111,553) | | | | | | |
Equity awards assumed in an acquisition | 8,802 | | 8,802 | | | | | | |
Other comprehensive income (loss) | 3,610 | | | 3,610 | | | | | |
Cancellation and forfeiture of restricted stock (in shares) | | (317) | | | | | | | |
Cancellation and forfeiture of restricted stock | 0 | | | | | | | | |
Net loss | (229,783) | | | | (229,783) | | | | |
Ending balance (in shares) at Nov. 01, 2020 | | 272,040 | | | | | | | |
Ending balance at Nov. 01, 2020 | 735,081 | $ 27 | 2,238,714 | 9,059 | (1,512,719) | | | | |
Beginning balance (in shares) at Aug. 02, 2020 | | 267,776 | | | | | | | |
Beginning balance at Aug. 02, 2020 | 746,106 | $ 27 | 2,172,391 | 12,185 | (1,438,497) | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 678 | | | | | | | |
Issuance of common stock upon exercise of stock options | 4,019 | | 4,019 | | | | | | |
Stock-based compensation expense | 59,734 | | 59,734 | | | | | | |
Vesting of restricted stock units (in shares) | | | | | | 2,990 | | | |
Vesting of restricted stock units | 0 | | 0 | | | | | | |
Tax withholding on vesting of restricted stock (in shares) | | (86) | | | | | | | |
Tax withholding on vesting of restricted stock | 1,239 | | 1,239 | | | | | | |
Tax withholding on vesting of equity awards (in shares) | | (86) | | | | | | | |
Tax withholding on vesting of equity awards | (1,239) | | (1,239) | | | | | | |
Forfeiture of restricted stock (in shares) | | | | | | | | | (87) |
Forfeiture of restricted stock | | | | | | | | $ 0 | |
Common stock issued under employee stock purchase plan (in shares) | | 2,129 | | | | | | | |
Common stock issued under employee stock purchase plan | 16,418 | | 16,418 | | | | | | |
Repurchases of common stock (in shares) | | (1,360) | | | | | | | |
Repurchases of common stock | (21,411) | | (21,411) | | | | | | |
Equity awards assumed in an acquisition | 8,802 | | 8,802 | | | | | | |
Other comprehensive income (loss) | (3,126) | | | (3,126) | | | | | |
Net loss | (74,222) | | | | (74,222) | | | | |
Ending balance (in shares) at Nov. 01, 2020 | | 272,040 | | | | | | | |
Ending balance at Nov. 01, 2020 | 735,081 | $ 27 | 2,238,714 | 9,059 | (1,512,719) | | | | |
Beginning balance (in shares) at Jan. 31, 2021 | | 278,363 | | | | | | | |
Beginning balance at Jan. 31, 2021 | 750,006 | $ 28 | 2,307,580 | 7,410 | (1,565,012) | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 3,983 | | | | | | | |
Issuance of common stock upon exercise of stock options | 33,573 | | 33,573 | | | | | | |
Stock-based compensation expense | 209,401 | | 209,401 | | | | | | |
Vesting of restricted stock units (in shares) | | | | | | 9,875 | | | |
Vesting of restricted stock units | 0 | | | | | $ 1 | (1) | | |
Tax withholding on vesting of restricted stock (in shares) | | (386) | | | | | | | |
Tax withholding on vesting of restricted stock | 8,670 | | 8,670 | | | | | | |
Tax withholding on vesting of equity awards (in shares) | | (386) | | | | | | | |
Tax withholding on vesting of equity awards | (8,670) | | (8,670) | | | | | | |
Forfeiture of restricted stock (in shares) | | (62) | | | | | | | |
Forfeiture of restricted stock | 0 | | | | | | | | |
Common stock issued under employee stock purchase plan (in shares) | | 4,365 | | | | | | | |
Common stock issued under employee stock purchase plan | 36,641 | | 36,641 | | | | | | |
Repurchases of common stock (in shares) | | (6,057) | | | | | | | |
Repurchases of common stock | (130,608) | | (130,608) | | | | | | |
Other comprehensive income (loss) | (7,717) | | | (7,717) | | | | | |
Net loss | (158,202) | | | | (158,202) | | | | |
Ending balance (in shares) at Oct. 31, 2021 | | 290,081 | | | | | | | |
Ending balance at Oct. 31, 2021 | 724,424 | $ 29 | 2,447,916 | (307) | (1,723,214) | | | | |
Beginning balance (in shares) at Aug. 01, 2021 | | 284,734 | | | | | | | |
Beginning balance at Aug. 01, 2021 | 697,444 | $ 28 | 2,388,418 | 3,481 | (1,694,483) | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | |
Issuance of common stock upon exercise of stock options (in shares) | | 2,086 | | | | | | | |
Issuance of common stock upon exercise of stock options | 22,289 | | 22,289 | | | | | | |
Stock-based compensation expense | 76,616 | | 76,616 | | | | | | |
Vesting of restricted stock units (in shares) | | | | | | 3,548 | | | |
Vesting of restricted stock units | 0 | | | | | $ 1 | $ (1) | | |
Tax withholding on vesting of restricted stock (in shares) | | (81) | | | | | | | |
Tax withholding on vesting of restricted stock | 2,106 | | 2,106 | | | | | | |
Tax withholding on vesting of equity awards (in shares) | | (81) | | | | | | | |
Tax withholding on vesting of equity awards | (2,106) | | (2,106) | | | | | | |
Forfeiture of restricted stock (in shares) | | | | | | | | | (25) |
Forfeiture of restricted stock | | | | | | | | $ 0 | |
Common stock issued under employee stock purchase plan (in shares) | | 2,180 | | | | | | | |
Common stock issued under employee stock purchase plan | 18,915 | | 18,915 | | | | | | |
Repurchases of common stock (in shares) | | (2,361) | | | | | | | |
Repurchases of common stock | (56,215) | | (56,215) | | | | | | |
Other comprehensive income (loss) | (3,788) | | | (3,788) | | | | | |
Net loss | (28,731) | | | | (28,731) | | | | |
Ending balance (in shares) at Oct. 31, 2021 | | 290,081 | | | | | | | |
Ending balance at Oct. 31, 2021 | $ 724,424 | $ 29 | $ 2,447,916 | $ (307) | $ (1,723,214) | | | | |