v3.23.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net income $ 257,888 $ 48,207
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 26,725 24,138
Loss (gain) from exchange rate fluctuations (23,214) 20,398
Stock-based compensation expenses 78,200 71,181
Impairment of goodwill and intangible assets 0 4,008
Deferred income taxes, net (7,636) (1,092)
Other items 4,783 11,396
Changes in assets and liabilities:    
Inventories, net (246,193) (93,348)
Prepaid expenses and other assets (33,285) (79,215)
Trade receivables, net (235,086) (235,316)
Trade payables, net (22,304) (7,339)
Employees and payroll accruals 8,283 5,202
Warranty obligations 103,524 59,588
Deferred revenues and customers advances 17,222 32,277
Accrued expenses and other liabilities, net (9,695) 54,341
Net cash used in operating activities (80,788) (85,574)
Cash flows from investing activities:    
Investment in available-for-sale marketable securities (124,138) (362,119)
Proceed from sales and maturities of available-for-sale marketable securities 86,813 126,287
Purchase of property, plant and equipment (84,075) (91,884)
Business combinations, net of cash acquired (16,653) 0
Purchase of intangible assets (10,000) 0
Investment in a privately-held company (6,750) 0
Proceeds from governmental grant 6,797 0
Other investing activities 3,552 1,783
Net cash used in investing activities (144,454) (325,933)
Cash flows from financing activities:    
Tax withholding in connection with stock-based awards, net (8,811) (2,318)
Payment of finance lease liability (1,428) (1,374)
Proceeds from secondary public offering, net of issuance costs 0 650,526
Other financing activities 98 1,572
Net cash provided by (used in) financing activities (10,141) 648,406
Increase (decrease) in cash and cash equivalents (235,383) 236,899
Cash and cash equivalents at the beginning of the period 783,112 530,089
Effect of exchange rate differences on cash and cash equivalents 10,015 (21,454)
Cash and cash equivalents at the end of the period 557,744 745,534
Supplemental disclosure of non-cash activities:    
Purchase of intangible assets and business combinations 11,245 0
Right-of-use asset recognized with a corresponding lease liability 12,063 34,176
Purchase of property, plant and equipment $ 16,300 $ 13,451