v3.24.1.u1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
OPERATING ACTIVITIES:    
Net loss $ (17,757) $ (98,732)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 13,567 95,795
Stock-based compensation 20,831 19,287
(Gain) loss on extinguishment of debt 7,387 (8,549)
Gain on disposal of property and equipment (10) (26)
Provision for doubtful accounts 134 67
Amortization of debt discount and issuance costs 1,152 1,669
Non-cash lease expense (546) 34
Deferred income taxes (7,770) (404)
Unrealized foreign currency gain, net (3,910) (1,463)
Other items, net 0 2,696
Changes in operating assets and liabilities:    
Accounts receivable 175,313 100,142
Prepaid expenses and other assets (812) (2,063)
Accounts payable and accrued expenses (249,742) (141,068)
Other liabilities 1,752 1,722
Net cash used in operating activities (60,411) (30,893)
INVESTING ACTIVITIES:    
Purchases of property and equipment (5,873) (4,404)
Capitalized internal use software development costs (3,379) (3,063)
Net cash used in investing activities (9,252) (7,467)
FINANCING ACTIVITIES:    
Proceeds from issuance of 2024 Term Loan B Facility, net of debt discount 361,350 0
Repayment of 2021 Term Loan B Facility (351,000) 0
Payment for debt issuance costs (4,510) 0
Repayment of debt 0 (900)
Repurchase of Convertible Senior Notes 0 (40,828)
Proceeds from exercise of stock options 0 1,486
Repayment of financing lease 0 (208)
Taxes paid related to net share settlement (8,941) (9,046)
Payment of indemnification claims holdback 0 (2,313)
Net cash used in financing activities (3,101) (51,809)
EFFECT OF EXCHANGE RATE CHANGES ON CASH, CASH EQUIVALENTS AND RESTRICTED CASH (621) 265
CHANGE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (73,385) (89,904)
CASH, CASH EQUIVALENTS AND RESTRICTED CASH — Beginning of period 326,219 326,502
CASH, CASH EQUIVALENTS AND RESTRICTED CASH — End of period 252,834 236,598
RECONCILIATION OF CASH, CASH EQUIVALENTS AND RESTRICTED CASH TO CONSOLIDATED BALANCE SHEETS    
Cash and cash equivalents 252,834 236,550
Restricted cash included in prepaid expenses and other current assets 0 48
Total cash, cash equivalents and restricted cash 252,834 236,598
SUPPLEMENTAL DISCLOSURES OF OTHER CASH FLOW INFORMATION:    
Cash paid for income taxes 729 1,547
Cash paid for interest 7,182 8,987
Capitalized assets financed by accounts payable and accrued expenses and other liabilities 7,272 3,320
Capitalized stock-based compensation 576 569
Operating lease right-of-use assets obtained in exchange for operating lease liabilities $ 8,255 $ 271