XML 19 R7.htm IDEA: XBRL DOCUMENT v3.22.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ 9,738 $ (13,068)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 7,394 4,402
Amortization of discounts or premiums on marketable securities 3,959 4,259
Amortization of issuance costs 840 835
Amortization of deferred contract costs 6,022 3,779
Stock-based compensation, net of amounts capitalized 66,884 28,861
Non-cash lease expense 4,411 4,012
Allowance for credit losses on accounts receivable 798 25
Loss on disposal of property and equipment 823 3
Changes in operating assets and liabilities:    
Accounts receivable, net (7,319) 9,223
Deferred contract costs (8,166) (6,711)
Prepaid expenses and other current assets (8,391) (5,998)
Other assets (805) 572
Accounts payable (7,624) (9,226)
Accrued expenses and other liabilities (2,911) 9,682
Deferred revenue 81,735 21,000
Net cash provided by operating activities 147,388 51,650
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchases of marketable securities (329,706) (150,331)
Maturities of marketable securities 199,703 253,234
Proceeds from sale of marketable securities 2,007 6,497
Purchases of property and equipment (9,514) (998)
Capitalized software development costs (7,973) (6,183)
Cash paid for acquisition of businesses; net of cash acquired (4,871) (11,509)
Net cash (used in) provided by investing activities (150,354) 90,710
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from exercise of stock options 4,245 3,275
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 4,242 3,030
Effect of exchange rate changes on cash, cash equivalents and restricted cash (629) (782)
NET INCREASE (DECREASE) IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH 647 144,608
CASH, CASH EQUIVALENTS AND RESTRICTED CASH—Beginning of period 274,463 228,711
CASH, CASH EQUIVALENTS AND RESTRICTED CASH—End of period 275,110 373,319
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:    
Cash paid for income taxes 339 327
SUPPLEMENTAL DISCLOSURE OF NON-CASH INVESTING AND FINANCING ACTIVITIES:    
Accrued property and equipment purchases 2,994 213
Stock-based compensation included in capitalized software development costs 3,506 2,153
Vesting of early exercised options 33 293
Issuance of restricted shares of common stock for the acquisition of businesses 0 20,172
Acquisition holdback 0 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 271,686 369,706
Restricted cash 3,424 3,613
Total cash, cash equivalents and restricted cash $ 275,110 $ 373,319