XML 21 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash Flows from Operating Activities      
Net income (loss) $ 26,038 $ (8,391) $ (78,733)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 26,058 30,697 34,399
Non-cash interest expense 13,819 13,792 12,676
Deferred income taxes (651) (299) 360
Share-based compensation expense 15,249 12,703 15,270
Loss on extinguishment of debt 4,029 7,841  
Asset impairment   281 4,020
Impairment of equity investments 980   20,973
Provision for bad debts   140 392
Changes in operating assets and liabilities:      
Accounts receivable and contract assets (26,664) (30,361) 5,796
Inventories and deferred cost of sales (24,803) (11,528) 14,969
Prepaid expenses and other current assets 7,621 (2,610) 7,520
Accounts payable and accrued expenses 20,225 15,959 (26,945)
Customer deposits and deferred revenue (4,099) 12,424 (17,866)
Income taxes receivable and payable, net 947 86 (655)
Other, net 8,993 2,287 408
Net cash provided by (used in) operating activities 67,742 43,021 (7,416)
Cash Flows from Investing Activities      
Capital expenditures (40,643) (6,802) (10,873)
Proceeds from the sale of investments 330,702 173,530 127,349
Payments for purchases of investments (247,256) (248,023) (192,988)
Proceeds from held for sale assets, net of costs to sell 1,725 9,503 645
Net cash provided by (used in) investing activities 44,528 (71,792) (75,867)
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,402 2,878 3,106
Restricted stock tax withholdings (8,992) (2,322) (2,980)
Net cash provided by (used in) financing activities (122,029) 29,098 126
Effect of exchange rate changes on cash and cash equivalents (52) 5 26
Net increase (decrease) in cash, cash equivalents, and restricted cash (9,811) 332 (83,131)
Cash, cash equivalents, and restricted cash - beginning of period 130,283 129,951 213,082
Cash, cash equivalents, and restricted cash - end of period 120,472 130,283 129,951
Supplemental Disclosure of Cash Flow Information      
Interest paid 12,551 12,700 9,408
Net income taxes paid (refunds received) (139) 329 2,931
Non-cash activities      
Capital expenditures included in accounts payable and accrued expenses 9,096 687 249
Net transfer of property, plant and equipment to inventory 63 1,624 (4,916)
Right-of-use assets obtained in exchange for lease obligations $ 23,777 $ 1,741 $ 5,576