XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities:    
Net income (loss) $ (31,198) $ 8,553
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Stock-based compensation 16,414 13,799
Depreciation 14,889 12,753
Amortization of intangible assets 7,624 9,284
Non-cash interest expense and amortization of convertible debt issuance costs 151 3,775
Loss on extinguishment of debt 66,497 0
Loss on fair value adjustment of derivatives, net 8,283 0
Deferred income taxes 1,210 1,317
Loss on equity investment 622 453
Realized loss from sale of marketable securities 688 0
Change in fair value of earn-out liability (4,300) 0
Gain on disposal of property, plant and equipment (9) 0
Change in operating assets and liabilities, net of effects of acquisition:    
Accounts receivable (18,436) (10,827)
Unbilled receivables 46,962 51,463
Prepaids and other current assets 2,850 4,688
Inventories (756) 6,414
Accounts payable 7,425 1,715
Accrued salaries and benefits and other liabilities (2,973) (3,575)
Income taxes payable (10,267) (9,747)
Deferred revenue (3,263) 2,190
Operating lease liabilities (3,300) (1,203)
Net cash provided by operating activities 99,113 91,052
Cash flows from investing activities:    
Purchases of property, plant, and equipment (6,433) (5,267)
Acquisition of intangible assets (3,000) 0
Acquisition of businesses, net of cash acquired (15,932) 0
Purchases of marketable securities (56,661) (333,782)
Maturities of marketable securities 45,324 260,924
Proceeds from sales of marketable securities 204,091 174,546
Net cash provided by investing activities 167,389 96,421
Cash flows from financing activities:    
Proceeds received from issuance of common stock under employee stock plans 3,730 4,186
Payments of taxes on restricted stock units (16,429) (8,486)
Payments under installment payment arrangements (7,343) (7,168)
Repurchase of convertible senior notes (199,111) 0
Proceeds from retirement of convertible senior note hedges 72,415 0
Payments for retirement of warrants (55,148) 0
Repurchase and retirement of common stock, including prepayment under accelerated share repurchase program 0 (100,068)
Net cash used in financing activities (201,886) (111,536)
Effect of exchange rate changes on cash and cash equivalents (1,054) (168)
Net increase in cash, cash equivalents and restricted cash 63,562 75,769
Cash, cash equivalents and restricted cash at beginning of period 108,264 129,324
Cash, cash equivalents and restricted cash at end of period 171,826 205,093
Non-cash investing and financing activities during the period:    
Property, plant and equipment received and accrued in accounts payable and other liabilities 37,896 10,720
Operating lease right-of-use assets obtained in exchange for operating lease obligations $ 5,301 $ 0