XML 16 R6.htm IDEA: XBRL DOCUMENT v3.23.2
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) $ (76,579) $ 22,985
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 12,435 12,749
Non-cash interest expense 514 477
Deferred income taxes 778 (18)
Share-based compensation expense 14,959 10,759
Loss on extinguishment of debt 97,091  
Provision for bad debts 490  
Changes in operating assets and liabilities:    
Accounts receivable and contract assets (10,145) (16,346)
Inventories (44,540) (5,873)
Prepaid expenses and other current assets (5,633) 8,231
Accounts payable and accrued expenses 9,099 (17,613)
Customer deposits and deferred revenue 29,048 11,424
Income taxes receivable and payable, net (1,869) (263)
Other, net (513) 1,657
Net cash provided by (used in) operating activities 25,135 28,169
Cash Flows from Investing Activities    
Capital expenditures (10,836) (15,420)
Acquisition of businesses, net of cash acquired (30,373)  
Proceeds from the sale of investments 112,895 23,335
Payments for purchases of investments (69,320) (33,876)
Net cash provided by (used in) investing activities 2,366 (25,961)
Cash Flows from Financing Activities    
Proceeds from issuance of 2029 Notes, net of issuance costs 223,202  
Extinguishment of Convertible Notes (218,991)  
Proceeds (net of tax withholdings) from option exercises and employee stock purchase plan 2,619 2,129
Restricted stock tax withholdings (8,801) (7,115)
Net cash provided by (used in) financing activities (1,971) (4,986)
Effect of exchange rate changes on cash and cash equivalents (41) (51)
Net increase (decrease) in cash, cash equivalents, and restricted cash 25,489 (2,829)
Cash, cash equivalents, and restricted cash - beginning of period 155,472 120,472
Cash, cash equivalents, and restricted cash - end of period 180,961 117,643
Supplemental Disclosure of Cash Flow Information    
Interest paid 6,628 5,037
Income taxes paid 2,983 1,083
Non-cash activities    
Capital expenditures included in accounts payable and accrued expenses 3,938 6,464
Net transfer of inventory to property, plant and equipment 4,328 237
Right-of-use assets obtained in exchange for lease obligations $ 630 $ 258