XML 24 R8.htm IDEA: XBRL DOCUMENT v3.25.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Cash flows from operating activities      
Net (loss) income $ (6,524) $ (16,343) $ 19,570
Adjustments to reconcile net (loss) income to net cash provided by operating activities      
Depreciation and amortization 49,242 41,717 35,599
Non-cash reduction to the right-of-use asset 3,601 9,323 6,977
Amortization of debt discount and issuance costs 1,709 2,520 3,082
Stock-based compensation 48,362 36,992 20,655
Deferred taxes and other (4,452) (5,942) (5,557)
Gain on sale of intangible asset (1,000) 0 0
Net gain on extinguishment of debt (10,267) (12,767) (40,205)
Changes in operating assets and liabilities:      
Accounts receivable (8,725) (3,454) (13,341)
Prepaid expenses and other assets 4,062 2,141 (5,795)
Accounts payable (4,639) 5,385 17,210
Accrued expenses and other liabilities 18,108 (10,592) 4,291
Operating right-of-use liability (5,594) (9,979) (7,580)
Net cash provided by operating activities 83,883 39,001 34,906
Cash flows from investing activities      
Purchase of property, plant and equipment (13,986) (9,257) (41,661)
Deposits for construction in progress 0 0 (18,674)
Refund of deposits for construction in progress 2,707 0 0
Capitalized software development costs (11,394) (10,642) (3,755)
Purchase of marketable securities (34,050) (80,625) (179,598)
Proceeds from sales and maturities of marketable securities 53,502 130,120 108,681
Proceeds from sale of business 779 1,253 1,558
Proceeds from sale of intangible assets 1,000 0 0
Net cash (used in) provided by investing activities (1,442) 30,849 (133,449)
Cash flows from financing activities      
Borrowings on line of credit 206,500 0 0
Repayments on line of credit (206,500) 0 0
Payments on finance leases (87) (157) (190)
Net cash paid for debt extinguishment (128,534) (51,259) (117,286)
Payment of debt issuance costs (524) (710) (553)
Proceeds from exercises of stock options 167 413 163
Value of equity awards withheld for tax liabilities (2,295) (1,062) (2,139)
Net cash used in financing activities (131,273) (52,775) (120,005)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,241) 610 881
Net (decrease) increase in cash, cash equivalents, and restricted cash (50,073) 17,685 (217,667)
Cash, cash equivalents, and restricted cash, beginning of period 132,307 114,622 332,289
Cash, cash equivalents, and restricted cash, end of period 82,234 132,307 114,622
Reconciliation of cash, cash equivalents, and restricted cash, end of period      
Cash and cash equivalents 81,812 131,987 113,641
Restricted cash included in prepaid expenses and other current assets 422 320 981
Total cash, cash equivalents, and restricted cash, end of period 82,234 132,307 114,622
Supplemental disclosure of cash flow information      
Cash paid for (received from) interest 691 (1,500) 18
Cash paid for taxes 3,815 7,203 3,932
Right-of-use assets obtained in exchange for new operating lease liabilities 1,905 156,025 3,421
Supplemental disclosure of noncash investing and financing activities      
Purchase of property, plant and equipment, accrued but not paid 11,447 6,871 1,741
Purchase of property and equipment through lease incentive 0 57,329 5,791
Purchase of property and equipment through use of escrow deposits $ 0 $ 20,674 $ 0