XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Cash flows from operating activities:    
Net loss $ (453,185) $ (385,914)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Stock-based compensation 340,702 251,826
Depreciation, amortization and accretion 59,748 44,903
Amortization of debt discount and issuance costs 2,895 42,780
Amortization of deferred commissions 39,537 25,135
Deferred income taxes 1,539 (11,506)
Non-cash charitable contributions 2,014 3,663
Loss on conversion of debt 0 179
Gain on strategic investments (1,965) (5,271)
Other, net 461 (290)
Changes in operating assets and liabilities:    
Accounts receivable 74,015 (14,798)
Deferred commissions (50,123) (55,102)
Prepaid expenses and other assets (2,236) 718
Operating lease right-of-use assets 13,568 10,732
Accounts payable 24,632 (2,044)
Accrued compensation (55,219) (6,507)
Accrued expenses and other liabilities 1,144 10,092
Operating lease liabilities (12,807) (13,489)
Deferred revenue 15,062 158,360
Net cash provided by (used in) operating activities (218) 53,467
Cash flows from investing activities:    
Capitalization of internal-use software costs (5,396) (378)
Purchases of property and equipment (7,493) (4,034)
Purchases of securities available for sale and other (571,081) (923,507)
Proceeds from maturities and redemption of securities available for sale 521,815 763,607
Proceeds from sales of securities available for sale and other 0 906
Purchases of intangible assets (2,497) (113)
Payments for business acquisitions, net of cash acquired (4,060) (148,042)
Net cash used in investing activities (68,712) (311,561)
Cash flows from financing activities:    
Payments for conversions of convertible senior notes (6) (15)
Proceeds from hedges related to convertible senior notes 1 2
Proceeds from stock option exercises 8,977 31,829
Proceeds from shares issued in connection with employee stock purchase plan 18,960 17,417
Net cash provided by financing activities 27,932 49,233
Effects of changes in foreign currency exchange rates on cash, cash equivalents and restricted cash (6,072) 193
Net decrease in cash, cash equivalents and restricted cash (47,070) (208,668)
Cash, cash equivalents and restricted cash at beginning of period 272,656 448,630
Cash, cash equivalents and restricted cash at end of period 225,586 239,962
Cash paid during the period for:    
Interest 2,840 2,864
Income taxes 3,303 1,642
Non-cash activities:    
Issuance of common stock and value of equity awards assumed in connection with business combination 0 5,409,344
Issuance of common stock for conversions of convertible senior notes 39,564 126,144
Benefit from exercise of hedges related to convertible senior notes 17,502 79,641
Common stock issued as charitable contribution 2,014 0
Operating lease right-of-use assets exchanged for lease liabilities 8,442 7,696
Reconciliation of cash, cash equivalents and restricted cash within the condensed consolidated balance sheets to the amounts shown in the condensed consolidated statements of cash flows above:    
Cash and cash equivalents 216,022 225,265
Restricted cash, current included in prepaid expenses and other current assets 2,103 5,037
Restricted cash, noncurrent included in other assets 7,461 9,660
Total cash, cash equivalents and restricted cash $ 225,586 $ 239,962