v3.20.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Jan. 31, 2019
Operating activities      
Net loss $ (92,629) $ (141,779) $ (140,077)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 38,695 23,026 14,815
Loss on disposal of fixed assets 15 0 191
Amortization of intangible assets 1,448 487 583
Amortization of deferred contract acquisition costs 66,425 35,459 28,642
Non-cash operating lease cost 7,786 0 0
Change in fair value of redeemable convertible preferred stock warrant liability 0 6,022 3,576
Provision for bad debts (544) 556 551
Stock-based compensation expense 149,675 79,940 20,505
Gain on debt and equity securities, net (1,347) 0 0
Accretion (amortization) of marketable securities purchased at a premium (discount) 578 (1,247) (1,152)
Non-cash interest expense 853 435 98
Other non-cash charges 0 (427) 0
Changes in operating assets and liabilities      
Accounts receivable (72,478) (73,067) (33,413)
Deferred contract acquisition costs (150,975) (86,594) (45,073)
Prepaid expenses and other assets 1,203 (43,467) (5,819)
Accounts payable 11,325 (6,570) (2,403)
Accrued expenses and other current liabilities 23,838 9,173 3,564
Accrued payroll and benefits 33,212 17,526 971
Operating lease liabilities (8,105) 0 0
Deferred revenue 338,803 280,768 131,117
Other liabilities 8,788 (298) 356
Net cash provided by (used in) operating activities 356,566 99,943 (22,968)
Investing activities      
Purchases of property and equipment (52,799) (80,198) (35,851)
Capitalized internal-use software (10,864) (7,289) (6,794)
Purchase of strategic investments (1,500) (1,000) 0
Business acquisition, net of cash acquired (85,517) 0 0
Purchase of intangible assets (180) 0 0
Purchases of marketable securities (84,904) (779,701) (199,335)
Proceeds from sales of marketable securities 639,586 9,581 0
Maturities of marketable securities 91,605 228,976 99,950
Net cash provided by (used in) investing activities 495,427 (629,631) (142,030)
Financing activities      
Proceeds from the issuance of common stock upon initial public offering, net of underwriting discounts 0 665,092 0
Proceeds from issuance of redeemable convertible preferred stock, net of issuance costs 0 0 206,896
Repayment of loan payable 0 0 (6,158)
Proceeds from revolving line of credit 0 0 10,000
Issuance costs related to revolving line of credit (3,328) 0 0
Repayment of revolving line of credit 0 0 (20,000)
Proceeds from issuance of Senior Notes, net of debt financing costs 739,569 0 0
Repayment of notes receivable from related parties 0 0 198
Payments of contingent consideration 0 0 (242)
Payments of indemnity holdback 0 0 (1,887)
Repurchase of stock options 0 0 (2,330)
Payments of deferred offering costs 0 (5,872) 0
Proceeds from issuance of common stock upon exercise of stock options 28,831 21,512 3,912
Proceeds from the issuance of common stock upon exercise of early exercisable stock options 0 10,264 0
Proceeds from issuance of common stock under the employee stock purchase plan 34,263 12,365 0
Settlement related to stockholder short-swing trade profit 0 2,283 0
Capital contributions from non-controlling interest holders 800 500 0
Net cash provided by financing activities 800,135 706,144 190,389
Effect of foreign exchange rates on cash and cash equivalents 1,682 (66) (162)
Net increase in cash and cash equivalents 1,653,810 176,390 25,229
Cash and cash equivalents, beginning of period 264,798 88,408 63,179
Cash and cash equivalents, end of period 1,918,608 264,798 88,408
Supplemental disclosure of cash flow information:      
Interest paid 18 7 449
Income taxes paid, net of refunds received 1,732 1,862 1,394
Supplemental disclosure of non-cash investing and financing activities:      
Contingent consideration associated with business combinations 0 0 474
Conversion of redeemable convertible preferred stock to common stock 0 557,912 0
Conversion of redeemable convertible preferred stock warrant liabilities reclassified to additional paid-in capital 0 10,559 0
Net (decrease) increase in deferred offering costs, accrued but not paid 0 (2,858) 2,858
Net (decrease) increase in property and equipment included in accounts payable and accrued expenses 1,042 (3,193) 3,004
Vesting of early exercised options 3,318 2,704 543
Equity consideration for acquisitions 3,842 0 0
Debt financing costs, accrued but not paid 1,581 0 0
Operating lease liabilities arising from obtaining operating right of-use assets $ 6,249 $ 0 $ 0