v3.22.2.2
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities:    
Net income (loss) $ 24,680 $ (77,800)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation 27,986 20,354
Amortization of intangibles 14,765 14,135
Amortization of debt financing fees 420 387
Loss (gain) on disposal of assets (18) 54
Provision for losses on accounts receivable 1,329 705
Unrealized foreign exchange losses on forward contracts 13,522 5,831
Deferred taxes (39) (9,692)
Stock-based compensation expense 54,764 25,014
Changes in operating assets and liabilities:    
Accounts receivable (6,995) (70,560)
Other receivables, prepaid expenses, and other current assets (8,022) (4,753)
Operating lease right-of-use assets 9,762 0
Other noncurrent assets (522) (1,211)
Accounts payable and accrued liabilities (3,941) 4,793
Accrued payroll and employee-related liabilities 10,477 24,524
Operating lease liabilities and deferred rent (9,146) 834
Income tax payable (13,918) 1,820
Deferred revenue (738) 2,139
Other noncurrent liabilities 98 0
Net cash provided by (used in) operating activities 114,464 (63,426)
Cash flows from investing activities:    
Purchase of property and equipment (36,010) (38,603)
Acquisition, net of cash acquired (23,235) 0
Net cash used in investing activities (59,245) (38,603)
Cash flows from financing activities:    
Proceeds from borrowings, Revolving credit facility 32,500 0
Proceeds from long-term debt 270,000 0
Payments on long-term debt (272,403) (3,938)
Payments for debt financing fees (1,821) (340)
Proceeds from issuance of common stock, net of underwriters’ fees 0 120,698
Proceeds from employee stock plans 2,217 0
Payments for offering costs 0 (4,327)
Payments for taxes related to net share settlement (3,937) 0
Payments for stock repurchases (13,702) 0
Distribution of dividends 0 (50,000)
Net cash provided by financing activities 12,854 62,093
Increase (decrease) in cash and cash equivalents 68,073 (39,936)
Effect of exchange rate changes on cash (9,166) (6,462)
Cash and cash equivalents at beginning of period 63,584 107,728
Cash and cash equivalents at end of period $ 122,491 $ 61,330