XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net income (loss) $ 172,161 $ (31,198)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Stock-based compensation 24,438 16,414
Depreciation 18,678 14,889
Amortization of intangible assets 7,888 7,624
Loss on extinguishment of debt 0 66,497
Loss on fair value adjustment of derivatives, net 240 8,283
Deferred income taxes (156,519) 1,210
Change in fair value of earn-out liability 13,800 (4,300)
Other 489 1,452
Change in operating assets and liabilities, net of effects of acquisition:    
Accounts receivable (8,540) (18,436)
Unbilled receivables 53,070 46,962
Prepaids and other current assets (449) 2,850
Inventories (12,627) (756)
Accounts payable (9,204) 7,425
Accrued salaries and benefits and other liabilities 5,126 (2,973)
Income taxes payable (9,158) (10,267)
Deferred revenue (7,200) (3,263)
Operating lease liabilities (2,845) (3,300)
Net cash provided by operating activities 89,348 99,113
Cash flows from investing activities:    
Purchases of property, plant, and equipment (14,487) (6,433)
Acquisition of intangible assets 0 (3,000)
Acquisition of business, net of cash acquired 0 (15,932)
Purchases of marketable securities (137,241) (56,661)
Maturities of marketable securities 29,155 45,324
Proceeds from sales of marketable securities 87,591 204,091
Net cash provided by (used in) investing activities (34,982) 167,389
Cash flows from financing activities:    
Proceeds received from issuance of common stock under employee stock plans 5,084 3,730
Payments of taxes on restricted stock units (31,921) (16,429)
Payments under installment payment arrangements (7,931) (7,343)
Payments for settlement and repurchase of convertible senior notes (10,381) (199,111)
Proceeds from retirement of convertible senior note hedges 0 72,415
Payments for settlement of warrants (10,697) (55,148)
Payment of deferred purchase consideration from acquisition (2,450) 0
Net cash used in financing activities (58,296) (201,886)
Effect of exchange rate changes on cash and cash equivalents 426 (1,054)
Net increase (decrease) in cash, cash equivalents and restricted cash (3,504) 63,562
Cash, cash equivalents and restricted cash at beginning of period 125,694 108,264
Cash, cash equivalents and restricted cash at end of period 122,190 171,826
Non-cash investing and financing activities during the period:    
Property, plant and equipment received and accrued in accounts payable and other liabilities 33,256 37,896
Issuance of common stock in connection with the payment of year 1 earn-out related to the PLDA Group acquisition 5,022 0
Operating lease right-of-use assets obtained in exchange for operating lease obligations $ 0 $ 5,301