XML 60 R8.htm IDEA: XBRL DOCUMENT v3.23.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2023
Jan. 31, 2022
Jan. 31, 2021
Cash flows from operating activities      
Net loss $ (277,862) $ (1,339,097) $ (907,980)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities      
Depreciation and amortization 99,470 99,145 93,666
Amortization of deferred commissions 111,205 144,850 142,095
Amortization of investment premiums (accretion of discounts), net (4,652) 1,741 (667)
Loss on strategic investment 0 0 4,500
Amortization of debt discount and issuance costs 10,279 140,847 98,977
Gain on extinguishment of convertible senior notes 0 0 (6,952)
Repurchase of convertible senior notes attributable to the accreted interest related to debt discount 0 0 (22,149)
Losses on facility exits 10,000 47,124 0
Non-cash operating lease costs 324 9,191 25,410
Stock-based compensation 789,138 794,818 618,655
Deferred income taxes (2,695) (579) (3,590)
Other 879 785 1,045
Changes in operating assets and liabilities, net of acquisitions      
Accounts receivable, net (337,177) (87,491) (153,724)
Prepaid expenses and other assets 42,075 (8,215) (45,476)
Deferred commissions (167,496) (242,080) (160,001)
Accounts payable (43,907) 33,115 (9,082)
Accrued compensation (39,402) 114,966 (3,805)
Accrued expenses and other liabilities (15,337) 90,079 3,814
Deferred revenue 274,788 328,849 134,402
Net cash provided by (used in) operating activities 449,630 128,048 (190,862)
Cash flows from investing activities      
Purchases of property and equipment (13,620) (10,671) (37,107)
Capitalized software development costs (8,782) (9,361) (14,602)
Purchases of marketable securities (1,536,558) (388,741) (87,135)
Maturities of marketable securities 515,950 178,124 995,878
Purchases of strategic investments (6,734) (23,750) 0
Acquisitions, net of cash acquired (21,950) (80,333) (56,383)
Other investment activities 1,534 980 (3,461)
Net cash provided by (used in) investing activities (1,070,160) (333,752) 797,190
Cash flows from financing activities      
Proceeds from the exercise of stock options 1,457 2,430 3,473
Proceeds from employee stock purchase plan 78,318 79,938 79,949
Proceeds from the issuance of convertible senior notes, net of issuance costs 0 981,920 1,246,544
Purchase of capped calls 0 0 (137,379)
Partial repurchase of convertible senior notes 0 0 (668,929)
Repurchases of common stock 0 (1,000,000) 0
Taxes paid related to net share settlement of equity awards (197,349) (200,957) (140,776)
Net cash provided by (used in) financing activities (117,574) (136,669) 382,882
Effect of exchange rate changes on cash and cash equivalents 0 0 3,201
Net increase (decrease) in cash and cash equivalents (738,104) (342,373) 992,411
Cash and cash equivalents at beginning of period 1,428,691 1,771,064 778,653
Cash and cash equivalents at end of period 690,587 1,428,691 1,771,064
Supplemental disclosures      
Cash paid for income taxes 17,131 5,401 9,760
Cash paid for interest 42,111 24,900 29,654
Non-cash investing and financing activities      
Increase in accrued purchases of property and equipment 1,348 4,273 4,148
Equity consideration for acquisitions $ 0 $ 939 $ 7,254