XML 19 R8.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities:      
Net loss $ (46,677) $ (42,731) $ (99,013)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Deferred income taxes (10,468) 161 4,243
Depreciation and amortization 16,170 10,633 6,880
Stock-based compensation 79,405 59,573 41,610
Other 3,915 1,071 (784)
Changes in operating assets and liabilities:      
Accounts receivable (17,228) (20,012) (25,941)
Prepaid expenses and other assets (46,207) (19,372) (16,954)
Accounts payable, accrued expenses and accrued compensation 24,330 (5,282) 10,513
Deferred revenue 92,486 71,383 72,799
Other current and noncurrent liabilities 1,039 8,808 (4,097)
Net cash provided by (used in) operating activities 96,765 64,232 (10,744)
Cash flows from investing activities:      
Purchases of property and equipment (6,561) (20,277) (20,674)
Purchases of short-term investments (282,438) (184,516) (242,059)
Sales and maturities of short-term investments 160,874 209,148 224,594
Purchase of other investments (5,000) 0 0
Business combinations, net of cash acquired (258,465) (276) (74,911)
Net cash (used in) provided by investing activities (391,590) 4,079 (113,050)
Cash flows from financing activities:      
Proceeds from term loan 375,000 0 0
Credit facility issuance costs (9,348) (333) 0
Proceeds from loan agreement 0 2,000 0
Proceeds from stock issued in connection with the employee stock purchase plan 13,736 13,040 15,129
Proceeds from the exercise of stock options 18,268 21,709 19,048
Other financing activities (10) (13) (16)
Net cash provided by financing activities 397,646 36,403 34,161
Effect of exchange rate changes on cash and cash equivalents and restricted cash (3,013) (916) (1,080)
Net increase (decrease) in cash and cash equivalents and restricted cash 99,808 103,798 (90,713)
Cash and cash equivalents and restricted cash at beginning of year 178,463 74,665 165,378
Cash and cash equivalents and restricted cash at end of year 278,271 178,463 74,665
Supplemental disclosure of cash flow information:      
Cash paid for interest 4,978 335 96
Cash paid for income taxes, net of refunds 6,481 5,729 8,530
Supplemental cash flow information related to leases:      
Cash payments for operating leases $ 7,657 $ 8,807 $ 4,452