XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Oct. 01, 2021
Cash flows from operating activities:    
Net income (loss) $ 22,051 $ (6,603)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation 9,225 9,395
Amortization of intangibles 0 507
Stock-based compensation 19,621 18,863
Amortization of convertible debt discount 897 4,685
Amortization of warrant 1,298 1,302
Foreign currency remeasurement (3,312) (3,435)
Deferred income taxes 1,798 1,268
Provision for expected credit losses and returns 1,835 3,049
Provision for excess and obsolete inventories 4,521 1,849
Gains on sale of investment in equity securities (4,370) 0
Other adjustments 419 215
Changes in operating assets and liabilities:    
Accounts receivable (22,115) (12,470)
Inventories (34,952) (18,783)
Other assets (10,371) 2,614
Accounts payable 1,305 10,144
Deferred revenues (955) 9,978
Other liabilities (770) 11,078
Net cash provided by (used in) operating activities (13,875) 33,656
Cash flows from investing activities:    
Proceeds from sale of investment 7,962 0
Purchases of property and equipment (7,389) (10,570)
Net cash provided by (used in) investing activities 573 (10,570)
Cash flows from financing activities:    
Repurchase of common stock (5,133) 0
Proceeds from other debts 3,499 3,861
Repayment of other debts (4,480) (6,070)
Proceeds from common stock issued to employees 6,129 11,401
Taxes paid related to net share settlement of equity awards (5,014) (1,619)
Net cash provided by (used in) financing activities (4,999) 7,573
Effect of exchange rate changes on cash and cash equivalents (9,850) (870)
Net increase (decrease) in cash and cash equivalents (28,151) 29,789
Cash and cash equivalents at beginning of period 133,431 98,645
Cash and cash equivalents at end of period 105,280 128,434
Supplemental schedule of non-cash investing activities:    
Capital expenditures incurred but not yet paid $ 819 $ 1,055