Condensed Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) (Unaudited) Statement - USD ($) shares in Thousands, $ in Thousands |
Total |
Common Stock |
Additional Paid-In Capital |
Accumulated Other Comprehensive Loss |
Accumulated Deficit |
Redeemable Convertible Preferred Stock |
| Beginning balance (in shares) at Jan. 31, 2018 |
|
35,700
|
|
|
|
|
| Beginning balance at Jan. 31, 2018 |
$ (338,648)
|
$ 4
|
$ 160,265
|
$ 3,403
|
$ (502,320)
|
|
| Increase (Decrease) in Stockholders' Equity [Roll Forward] |
|
|
|
|
|
|
| Exercise of stock options (in shares) |
|
1,076
|
|
|
|
|
| Exercise of stock options |
7,815
|
|
7,815
|
|
|
|
| Employee stock-based compensation expense |
269,753
|
|
269,753
|
|
|
|
| Non-employee stock-based compensation expense |
720
|
|
720
|
|
|
|
| Net loss |
(270,687)
|
|
|
|
(270,687)
|
|
| Other comprehensive loss, net |
(2,328)
|
|
|
(2,328)
|
|
|
| Ending balance (in shares) at Apr. 30, 2018 |
|
36,776
|
|
|
|
|
| Ending balance at Apr. 30, 2018 |
(333,728)
|
$ 4
|
438,200
|
1,075
|
(773,007)
|
|
| Beginning balance (in shares) at Jan. 31, 2018 |
|
|
|
|
|
100,226
|
| Beginning balance at Jan. 31, 2018 |
|
|
|
|
|
$ 547,501
|
| Increase (Decrease) in Temporary Equity [Roll Forward] |
|
|
|
|
|
|
| Accretion of preferred stock |
(353)
|
|
|
|
|
$ 353
|
| Accretion of preferred stock |
(353)
|
|
(353)
|
|
|
|
| Ending balance (in shares) at Apr. 30, 2018 |
|
|
|
|
|
100,226
|
| Ending balance at Apr. 30, 2018 |
|
|
|
|
|
$ 547,854
|
| Beginning balance (in shares) at Jan. 31, 2019 |
|
169,303
|
|
|
|
|
| Beginning balance at Jan. 31, 2019 |
$ 614,362
|
$ 17
|
1,545,088
|
(1,965)
|
(928,778)
|
|
| Increase (Decrease) in Stockholders' Equity [Roll Forward] |
|
|
|
|
|
|
| Exercise of stock options (in shares) |
2,634
|
2,634
|
|
|
|
|
| Exercise of stock options |
$ 32,254
|
|
32,254
|
|
|
|
| Settlement of RSUs (in shares) |
|
2,463
|
|
|
|
|
| Tax withholding on RSU settlement (in shares) |
|
(1,003)
|
|
|
|
|
| Tax withholding on RSU settlement |
(56,137)
|
|
(56,137)
|
|
|
|
| Employee stock purchase plans (in shares) |
|
231
|
|
|
|
|
| Employee stock purchase plans |
10,563
|
|
10,563
|
|
|
|
| Employee stock-based compensation expense |
43,669
|
|
43,669
|
|
|
|
| Non-employee stock-based compensation expense |
34
|
|
34
|
|
|
|
| Net loss |
(45,722)
|
|
|
|
(45,722)
|
|
| Other comprehensive loss, net |
(1,293)
|
|
|
(1,293)
|
|
|
| Ending balance (in shares) at Apr. 30, 2019 |
|
173,628
|
|
|
|
|
| Ending balance at Apr. 30, 2019 |
597,682
|
$ 17
|
$ 1,575,471
|
$ (3,258)
|
$ (974,548)
|
|
| Increase (Decrease) in Temporary Equity [Roll Forward] |
|
|
|
|
|
|
| Accretion of preferred stock |
$ 0
|
|
|
|
|
|