XML 18 R7.htm IDEA: XBRL DOCUMENT v3.24.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Cash flows from operating activities:    
Net loss $ (125,172) $ (109,702)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation expense 40,251 38,015
Amortization of intangible assets 14,699 15,525
Non-cash lease expense 16,819 17,227
Amortization of debt discount and issuance costs 1,061 2,020
Amortization of deferred contract costs 13,877 11,253
Stock-based compensation 82,985 100,856
Deferred income taxes 900 0
Provision for credit losses 2,400 1,311
Loss on disposals of property and equipment 444 505
Amortization of premiums (discounts) on investments (3,466) 344
Impairment of operating lease right-of-use assets 371 588
Impairment expense 3,696 4,316
Net gain on extinguishment of debt 0 (36,760)
Other adjustments 83 (257)
Changes in operating assets and liabilities:    
Accounts receivable 1,298 (10,355)
Prepaid expenses and other current assets (7,420) 4,602
Other assets (7,729) (16,269)
Accounts payable 4,514 1,258
Accrued expenses (4,142) (6,253)
Operating lease liabilities (19,341) (16,937)
Other liabilities (4,942) 6,452
Net cash provided by operating activities 11,186 7,739
Cash flows from investing activities:    
Purchases of marketable securities (155,099) (73,091)
Sales of marketable securities 0 775
Maturities of marketable securities 289,709 428,125
Advance payment for purchase of property and equipment (790) 0
Purchases of property and equipment (5,361) (8,283)
Proceeds from sale of property and equipment 24 49
Capitalized internal-use software (20,492) (15,390)
Net cash provided by investing activities 107,991 332,185
Cash flows from financing activities:    
Cash paid for debt extinguishment 0 (196,934)
Repayments of finance lease liabilities (12,404) (21,243)
Payment of deferred consideration for business acquisitions (3,771) (4,393)
Proceeds from exercise of vested stock options 310 2,008
Proceeds from employee stock purchase plan 6,083 7,009
Net cash used in financing activities (9,782) (213,553)
Effects of exchange rate changes on cash, cash equivalents, and restricted cash 48 538
Net increase in cash, cash equivalents, and restricted cash 109,443 126,909
Cash, cash equivalents, and restricted cash at beginning of period 108,071 143,541
Cash, cash equivalents, and restricted cash at end of period 217,514 270,450
Supplemental disclosure of cash flow information:    
Cash paid for interest 453 1,286
Cash paid for income taxes, net of refunds received 739 369
Cash paid for finance lease interest 342 1,103
Noncash investing and financing activities:    
Net increase in property and equipment included in accounts payable and accrued expenses 1,278 519
Capitalized stock-based compensation 7,952 6,912
Assets obtained in exchange for operating lease obligations 5,827 1,324
Net non-cash change in operating lease assets and liabilities associated with modifications and terminations 4,762 (978)
Deployments of prepaid capital equipment $ 11,912 $ 1,664