XML 20 R8.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2020
Cash flows from operating activities:      
Net loss $ (848,411) $ (266,332) $ (208,913)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Stock-based compensation 565,480 196,181 126,624
Depreciation, amortization and accretion 107,612 36,865 17,815
Amortization of debt discount and issuance costs 86,461 68,424 25,892
Amortization of deferred commissions 57,177 39,661 28,588
Deferred income taxes (6,157) (1,182) (2,253)
Non-cash charitable contributions 7,238 9,292 1,746
Loss on early extinguishment and conversion of debt 179 2,263 14,572
(Gain) loss on strategic investments (7,609) 628 (130)
Other, net 1,051 4,909 119
Changes in operating assets and liabilities:      
Accounts receivable (174,817) (66,373) (37,515)
Deferred commissions (170,577) (81,016) (61,224)
Prepaid expenses and other assets (6,758) (13,174) (4,080)
Operating lease right-of-use assets 22,856 19,053 12,951
Accounts payable 6,764 4,081 1,689
Accrued compensation 50,309 44,157 23,034
Accrued expenses and other liabilities 21,391 5,527 9,972
Operating lease liabilities (24,455) (17,150) (9,716)
Deferred revenue 416,385 142,148 116,432
Net cash provided by operating activities 104,119 127,962 55,603
Cash flows from investing activities:      
Capitalization of internal-use software costs (4,336) (4,159) (3,888)
Purchases of property and equipment (12,310) (13,083) (15,442)
Purchases of securities available for sale and other (1,846,709) (2,029,030) (999,387)
Proceeds from maturities and redemption of securities available for sale 1,482,033 535,123 356,277
Proceeds from sales of securities available for sale and other 229,798 206,129 27,271
Payments for business acquisitions, net of cash acquired (215,175) 0 (44,283)
Purchase of intangible assets (113) (126) (8,589)
Net cash used in investing activities (366,812) (1,305,146) (688,041)
Cash flows from financing activities:      
Proceeds from issuance of convertible senior notes, net of issuance costs 0 1,134,841 1,040,660
Payments for repurchases and conversions of convertible senior notes (26) (446) (224,414)
Proceeds from hedges related to convertible senior notes 2 195,046 405,851
Payments for warrants related to convertible senior notes 0 (175,399) (358,622)
Purchases of capped calls related to convertible senior notes 0 (133,975) (74,094)
Proceeds from stock option exercises, net of repurchases 53,522 45,620 45,363
Proceeds from shares issued in connection with employee stock purchase plan 35,568 25,911 18,767
Other, net 0 0 (126)
Net cash provided by financing activities 89,066 1,091,598 853,385
Effects of changes in foreign currency exchange rates on cash, cash equivalents and restricted cash (2,347) 2,263 (209)
Net (decrease) increase in cash, cash equivalents and restricted cash (175,974) (83,323) 220,738
Cash, cash equivalents and restricted cash at beginning of year 448,630 531,953 311,215
Cash, cash equivalents and restricted cash at end of year 272,656 448,630 531,953
Cash paid during the period for:      
Interest 5,704 3,759 862
Income taxes 3,116 978 1,123
Non-cash investing and financing activities:      
Issuance of common stock and value of equity awards assumed in connection with business combination 5,409,344 0 0
Issuance of common stock for repurchases and conversions of convertible senior notes 126,144 307,910 380,406
Benefit from exercise of hedges related to convertible senior notes 92,097 37,076 0
Common stock issued as charitable contribution 7,238 9,292 1,746
Operating lease right-of-use assets exchanged for lease liabilities 21,518 45,611 16,832
Issuance of common stock for bonus settlement 0 9,818 2,809
Reconciliation of cash, cash equivalents, and restricted cash within the consolidated balance sheets to the amounts shown in the statements of cash flows above:      
Cash and cash equivalents 260,134 434,607 520,048
Restricted cash, current included in prepaid expenses and other current assets 5,012 4,553 467
Restricted cash, noncurrent included in other assets 7,510 9,470 11,438
Total cash, cash equivalents and restricted cash $ 272,656 $ 448,630 $ 531,953