v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2020
Operating activities      
Net loss $ (232,378) $ (92,629) $ (141,779)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Depreciation and amortization 55,908 38,710 23,026
Amortization of intangible assets 12,902 1,448 487
Amortization of deferred contract acquisition costs 113,884 66,425 35,459
Non-cash operating lease cost 9,103 7,786 0
Change in fair value of redeemable convertible preferred stock warrant liability 0 0 6,022
Stock-based compensation expense 309,952 149,675 79,940
Deferred income taxes (13,956) (1,452) (681)
Gain on sale of debt securities, net 0 (1,347) 0
Amortization (accretion) of marketable securities purchased at a premium (discount) 0 578 (1,247)
Non-cash interest expense 2,469 853 435
Other non-cash charges 0 0 (427)
Change in fair value of strategic investments (4,823) 0 0
Changes in operating assets and liabilities, net of impact of acquisitions      
Accounts receivable, net (125,354) (73,022) (72,511)
Deferred contract acquisition costs (234,308) (150,975) (86,594)
Prepaid expenses and other assets (29,535) 2,198 (44,008)
Accounts payable 33,248 11,325 (6,570)
Accrued expenses and other liabilities 38,483 33,083 10,097
Accrued payroll and benefits 32,681 33,212 17,526
Operating lease liabilities (9,900) (8,105) 0
Deferred revenue 616,408 338,803 280,768
Net cash provided by operating activities 574,784 356,566 99,943
Investing activities      
Purchases of property and equipment (112,143) (52,799) (80,198)
Capitalized internal-use software and website development costs (20,866) (10,864) (7,289)
Purchases of strategic investments (16,309) (1,500) (1,000)
Business acquisitions, net of cash acquired (414,518) (85,517) 0
Purchases of intangible assets (680) (180) 0
Purchases of marketable securities 0 (84,904) (779,701)
Proceeds from sales of marketable securities 0 639,586 9,581
Maturities of marketable securities 0 91,605 228,976
Net cash (used in) provided by investing activities (564,516) 495,427 (629,631)
Financing activities      
Proceeds from the issuance of common stock upon initial public offering, net of underwriting discounts 0 0 665,092
Payments of debt issuance costs related to revolving line of credit (219) (3,328) 0
Payments of debt issuance costs related to Senior Notes (1,581) 0 0
Proceeds from issuance of Senior Notes, net of debt financing costs 0 739,569 0
Payments of deferred offering costs 0 0 (5,872)
Proceeds from issuance of common stock upon exercise of stock options 15,899 28,831 21,512
Proceeds from the issuance of common stock upon exercise of early exercisable stock options 0 0 10,264
Proceeds from issuance of common stock under the employee stock purchase plan 50,277 34,263 12,365
Settlement related to stockholder short-swing trade profit 0 0 2,283
Capital contributions from non-controlling interest holders 8,155 800 500
Net cash provided by financing activities 72,531 800,135 706,144
Effect of foreign exchange rates on cash and cash equivalents (4,774) 1,682 (66)
Net increase in cash and cash equivalents 78,025 1,653,810 176,390
Cash and cash equivalents, beginning of period 1,918,608 264,798 88,408
Cash and cash equivalents, end of period 1,996,633 1,918,608 264,798
Supplemental disclosure of cash flow information:      
Interest paid 275 18 7
Income taxes paid, net of refunds received 74,677 1,732 1,862
Supplemental disclosure of non-cash investing and financing activities:      
Conversion of redeemable convertible preferred stock to common stock 0 0 557,912
Conversion of redeemable convertible preferred stock warrant liabilities reclassified to additional paid-in capital 0 0 10,559
Net decrease in deferred offering costs, accrued but not paid 0 0 (2,858)
Net increase (decrease) in property and equipment included in accounts payable and accrued expenses 6,522 1,042 (3,193)
Vesting of early exercised options 3,165 3,318 2,704
Equity consideration for acquisitions 4,011 3,842 0
Debt financing costs, accrued but not paid 0 1,581 0
Operating lease liabilities arising from obtaining operating right of-use assets $ 4,867 $ 6,249 $ 0