XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
9 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Cash flows from operating activities:    
Net loss $ (109,702,000) $ (144,121,000)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation expense 38,015,000 31,248,000
Amortization of intangible assets 15,525,000 16,114,000
Non-cash lease expense 17,227,000 19,655,000
Amortization of debt discount and issuance costs 2,020,000 2,454,000
Amortization of deferred contract costs 11,253,000 6,020,000
Stock-based compensation 100,856,000 114,378,000
Provision for credit losses 1,311,000 1,782,000
Loss on disposals of property and equipment 505,000 854,000
Amortization and accretion of discounts and premiums on investments 344,000 2,622,000
Impairment of operating lease right-of-use assets 588,000 0
Impairment expense 4,316,000 0
Net gain on extinguishment of debt (36,760,000) (54,391,000)
Other adjustments (257,000) (292,000)
Changes in operating assets and liabilities:    
Accounts receivable (10,355,000) (10,071,000)
Prepaid expenses and other current assets 4,602,000 (5,787,000)
Other assets (16,269,000) (19,904,000)
Accounts payable 1,258,000 (3,457,000)
Accrued expenses (6,253,000) 4,490,000
Operating lease liabilities (16,937,000) (18,443,000)
Other liabilities 6,452,000 (655,000)
Net cash provided by (used in) operating activities 7,739,000 (57,504,000)
Cash flows from investing activities:    
Purchases of marketable securities (73,091,000) (355,479,000)
Sales of marketable securities 775,000 161,853,000
Maturities of marketable securities 428,125,000 440,737,000
Business acquisitions, net of cash acquired 0 (27,745,000)
Advance payment for purchase of property and equipment 0 (31,274,000)
Purchases of property and equipment (8,283,000) (11,446,000)
Proceeds from sale of property and equipment 49,000 366,000
Capitalized internal-use software (15,390,000) (13,856,000)
Net cash provided by investing activities 332,185,000 163,156,000
Cash flows from financing activities:    
Cash paid for debt extinguishment (196,934,000) (177,082,000)
Repayments of finance lease liabilities (21,243,000) (18,105,000)
Cash received for restricted stock sold in advance of vesting conditions 0 10,655,000
Cash paid for early sale of restricted shares 0 (10,655,000)
Payment of deferred consideration for business acquisitions (4,393,000) 0
Proceeds from exercise of vested stock options 2,008,000 5,324,000
Proceeds from employee stock purchase plan 7,009,000 5,726,000
Net cash used in financing activities (213,553,000) (184,137,000)
Effects of exchange rate changes on cash, cash equivalents, and restricted cash 538,000 (429,000)
Net increase in cash, cash equivalents, and restricted cash 126,909,000 (78,914,000)
Cash, cash equivalents, and restricted cash at beginning of period 143,541,000 166,961,000
Cash, cash equivalents, and restricted cash at end of period 270,450,000 88,047,000
Supplemental disclosure of cash flow information:    
Cash paid for interest 1,286,000 1,969,000
Cash paid for income taxes, net of refunds received 369,000 225,000
Cash paid for finance lease interest 1,103,000 0
Property and equipment additions not yet paid in cash 519,000 8,497,000
Stock-based compensation capitalized to internal-use software 6,912,000 6,034,000
Assets obtained in exchange for operating lease obligations 1,324,000 28,788,000
Assets obtained in exchange for finance lease obligations 0 23,521,000
Net non-cash change in operating lease assets and liabilities associated with modifications and terminations (978,000) 3,132,000
Purchase consideration associated with business combination, accrued but not paid 0 8,000,000
Costs associated with business combination, accrued but not paid 0 30,000
Deployments of prepaid capital equipment 1,664,000 926,000
Reconciliation of cash, cash equivalents, and restricted cash as shown in the statements of cash flows:    
Cash and cash equivalents 270,300,000 87,897,000
Restricted cash, current 150,000 150,000
Total cash, cash equivalents, and restricted cash $ 270,450,000 $ 88,047,000