v3.21.2
Condensed Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Operating activities:    
Net income (loss) $ 5,860 $ (12,500)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Provision for losses on accounts receivable 287 948
Depreciation and amortization 14,450 13,677
Loss on disposal of property and equipment 9 22
Warranty reserve 1,014 1,280
Share-based compensation 5,622 4,664
Impairment of intangible assets 3 1,095
Loss on equity method investment 265 0
Changes in operating assets and liabilities:    
Accounts receivable 2,203 27,248
Inventories 7,034 (11,194)
Prepaid expenses and other assets (796) (4,066)
Accounts payable 3,614 4,324
Accrued liabilities (19) (16,343)
Deferred revenue 3,444 302
Deferred income tax 1,106 155
Net cash provided by operating activities 44,096 9,612
Investing activities:    
Purchase of property and equipment (1,967) (6,927)
Purchase of equity method investments (1,000) 0
Net cash used in investing activities (2,967) (6,927)
Financing activities:    
Proceeds from stock option exercises and Employee Stock Purchase Program purchases 612 658
Repurchase of common stock 0 (10,495)
Taxes paid related to net share settlement of equity awards (1,244) (1,926)
Principal payments of financing lease liability (216) (242)
Proceeds from borrowings 0 60,000
Payments on borrowings (57,000) (28,000)
Net cash provided by (used in) financing activities (57,848) 19,995
Exchange rate changes effect on cash and cash equivalents (2,869) (1,099)
Net increase (decrease) in cash and cash equivalents (19,588) 21,581
Cash and cash equivalents, beginning of period 82,082 63,297
Cash and cash equivalents, end of period 62,494 84,878
Supplemental disclosure of cash flow information:    
Cash paid for interest 860 1,561
Cash paid for income taxes 1,671 4,667
Non-cash investing activities:    
Property and equipment included in accounts payable 35 (13)
Inventory transferred to property and equipment 588 525
Transfer of leased assets to sales-type leases $ 13 $ 2,365

Source