XML 20 R7.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash Flows from Operating Activities      
Net income $ 166,942 $ 26,038 $ (8,391)
Adjustments to reconcile net income to net cash provided by (used in) operating activities:      
Depreciation and amortization 25,645 26,058 30,697
Non-cash interest expense 962 13,819 13,792
Deferred income taxes (118,040) (651) (299)
Share-based compensation expense 22,994 15,249 12,703
Loss on extinguishment of debt   4,029 7,841
Asset impairment     281
Impairment of equity investments   980  
Provision for bad debts     140
Changes in operating assets and liabilities:      
Accounts receivable and contract assets (12,826) (26,664) (30,361)
Inventories (37,288) (24,803) (11,528)
Prepaid expenses and other current assets 7,668 7,621 (2,610)
Accounts payable and accrued expenses (13,115) 20,225 15,959
Customer deposits and deferred revenue 64,087 (4,099) 12,424
Income taxes receivable and payable, net 557 947 86
Other, net 897 8,993 2,287
Net cash provided by (used in) operating activities 108,483 67,742 43,021
Cash Flows from Investing Activities      
Capital expenditures (24,604) (40,643) (6,802)
Proceeds from the sale of investments 59,738 330,702 173,530
Payments for purchases of investments (104,014) (247,256) (248,023)
Proceeds from held for sale assets, net of costs to sell   1,725 9,503
Net cash provided by (used in) investing activities (68,880) 44,528 (71,792)
Cash Flows from Financing Activities      
Proceeds from issuance of 2027 Notes, net of issuance costs     120,095
Purchase of capped calls     (10,313)
Repurchase of 2023 Notes   (115,604) (81,240)
Debt issuance costs   (835)  
Proceeds (net of tax withholdings) from option exercises and employee stock purchase plan 3,698 3,402 2,878
Restricted stock tax withholdings (8,248) (8,992) (2,322)
Net cash provided by (used in) financing activities (4,550) (122,029) 29,098
Effect of exchange rate changes on cash and cash equivalents (53) (52) 5
Net increase (decrease) in cash, cash equivalents, and restricted cash 35,000 (9,811) 332
Cash, cash equivalents, and restricted cash - beginning of period 120,472 130,283 129,951
Cash, cash equivalents, and restricted cash - end of period 155,472 120,472 130,283
Supplemental Disclosure of Cash Flow Information      
Interest paid 10,139 12,551 12,700
Income taxes paid (refunds received) 1,434 (139) 329
Non-cash activities      
Capital expenditures included in accounts payable and accrued expenses 2,285 9,096 687
Net transfer of inventory to property, plant and equipment 1,235 (63) (1,624)
Right-of-use assets obtained in exchange for lease obligations $ 2,938 $ 23,777 $ 1,741