XML 19 R7.htm IDEA: XBRL DOCUMENT v3.22.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ 4,859 $ (22,430)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 15,512 9,865
Amortization of discounts or premiums on marketable securities 6,697 8,113
Amortization of issuance costs 1,682 1,672
Amortization of deferred contract costs 12,580 7,853
Stock-based compensation, net of amounts capitalized 149,283 63,376
Non-cash lease expense 9,686 8,061
Allowance for credit losses on accounts receivable 1,931 527
Loss on disposal of property and equipment 1,149 156
Changes in operating assets and liabilities:    
Accounts receivable, net (38,100) (24,908)
Deferred contract costs (21,469) (16,701)
Prepaid expenses and other current assets (12,629) (2,537)
Other assets (1,752) (932)
Accounts payable 23,179 7,372
Accrued expenses and other liabilities (4,310) 7,308
Deferred revenue 72,050 56,578
Net cash provided by operating activities 220,348 103,373
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchases of marketable securities (718,785) (490,983)
Maturities of marketable securities 516,754 570,206
Proceeds from sale of marketable securities 2,006 41,715
Purchases of property and equipment (15,501) (4,227)
Capitalized software development costs (14,780) (12,392)
Cash paid for acquisition of businesses; net of cash acquired (39,566) (200,348)
Net cash used in investing activities (269,872) (96,029)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from exercise of stock options 6,451 6,162
Proceeds from issuance of common stock under the employee stock purchase plan 13,557 9,794
Employee payroll taxes paid related to net share settlement under the employee stock purchase plan 0 (245)
Repayments of convertible senior notes (3) 0
Net cash provided by financing activities 20,005 15,711
Effect of exchange rate changes on cash, cash equivalents and restricted cash (2,871) (662)
NET (DECREASE) INCREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (32,390) 22,393
CASH, CASH EQUIVALENTS AND RESTRICTED CASH—Beginning of period 274,463 228,711
CASH, CASH EQUIVALENTS AND RESTRICTED CASH—End of period 242,073 251,104
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:    
Cash paid for income taxes 386 543
SUPPLEMENTAL DISCLOSURE OF NON-CASH INVESTING AND FINANCING ACTIVITIES:    
Accrued property and equipment purchases 1,078 914
Stock-based compensation included in capitalized software development costs 6,840 4,212
Vesting of early exercised options 33 500
Issuance of restricted shares of common stock for the acquisition of businesses 7,608 51,501
Acquisition holdback 5,473 1,195
RECONCILIATION OF CASH, CASH EQUIVALENTS AND RESTRICTED CASH WITHIN THE CONDENSED CONSOLIDATED BALANCE SHEETS TO THE AMOUNTS SHOWN IN THE STATEMENTS OF CASH FLOWS ABOVE:    
Cash and cash equivalents 238,859 247,442
Restricted cash 3,214 3,662
Total cash, cash equivalents and restricted cash $ 242,073 $ 251,104