XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
shares in Thousands, $ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities:    
Net income (loss) $ (30,259) $ 12,229
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Stock-based compensation 25,286 21,281
Depreciation 23,107 19,623
Amortization of intangible assets 11,634 13,456
Non-cash interest expense and amortization of convertible debt issuance costs 197 5,702
Loss on extinguishment of debt 83,626 0
Loss on fair value adjustment of derivatives, net 10,585 0
Deferred income taxes 1,680 1,939
Gain on fair value of equity security (3,547) 0
Loss on equity investment 862 717
Realized loss from sale of marketable securities 1,138 0
Change in fair value of earn-out liability (1,889) 0
Gain on disposal of property, plant and equipment (10) (48)
Change in operating assets and liabilities, net of effects of acquisition:    
Accounts receivable 6,689 (16,258)
Unbilled receivables 78,914 87,335
Prepaids and other current assets 1,186 5,910
Inventories (5,679) 6,506
Accounts payable 8,682 1,007
Accrued salaries and benefits and other liabilities (10,811) (7,626)
Income taxes payable (15,352) (21,414)
Deferred revenue (1,709) 9,670
Operating lease liabilities (5,226) (2,980)
Net cash provided by operating activities 179,104 137,049
Cash flows from investing activities:    
Purchases of property, plant, and equipment (12,650) (7,527)
Acquisition of intangible assets (3,000) 0
Purchases of marketable securities (80,969) (419,073)
Maturities of marketable securities 53,358 297,759
Proceeds from sales of marketable securities 276,687 227,045
Acquisition of business, net of cash acquired (15,932) (97,115)
Net cash provided by investing activities 217,494 1,089
Cash flows from financing activities:    
Proceeds received from issuance of common stock under employee stock plans 3,775 5,002
Payments of taxes on restricted stock units (17,454) (9,953)
Payments under installment payment arrangements (10,472) (9,826)
Repurchase of convertible senior notes (258,060) 0
Proceeds from retirement of convertible senior note hedges 91,729 0
Payments for retirement of warrants (69,528) 0
Repurchase and retirement of common stock, including prepayment under accelerated share repurchase program (100,412) (100,081)
Net cash used in financing activities (360,422) (114,858)
Effect of exchange rate changes on cash and cash equivalents (2,519) (362)
Net increase in cash, cash equivalents and restricted cash 33,657 22,918
Cash, cash equivalents and restricted cash at beginning of period 108,264 129,324
Cash, cash equivalents and restricted cash at end of period 141,921 152,242
Non-cash investing and financing activities during the period:    
Property, plant and equipment received and accrued in accounts payable and other liabilities 32,540 11,809
Operating lease right-of-use assets obtained in exchange for operating lease obligations $ 5,663 $ 0
Common stock issued pursuant to acquisition 0 6,978