XML 60 R5.htm IDEA: XBRL DOCUMENT v3.23.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net income $ 42,560 $ 9,305
Adjustments to reconcile net income from operations to net cash used in operating activities    
Depreciation and amortization 3,955 2,555
Loss on disposals of property, plant and equipment (1) 0
Realized gain on trading securities (7,913) 0
Equity income in net income of affiliates (3,888) (401)
Unrealized loss on trading securities 3,109 4,281
Bad debt expense 496 0
Deferred income taxes (4,711) 1,642
Stock-based compensation 4,085 3,343
Net changes in operating assets and liabilities:    
Accounts receivable (28,630) (55,919)
Other receivables (8,252) (676)
Inventories (96,739) (80,862)
Advances to related party (note 16) 2,167 (690)
Prepaid expenses (4,749) (5,996)
Other long-term assets 0 910
Related party accounts payable (note 16) (2,589) 1,163
Accounts payable 9,963 5,950
Advances from customers 46,611 44,069
Deferred revenue 4,056 2,950
Income taxes payable 8,629 1,791
FIN-48 payable (240) (111)
Other payables and accrued expenses 10,004 6,862
Other long-term liabilities (2,163) (1,463)
Net cash flow used in operating activities (24,240) (61,297)
Cash flows from investing activities:    
Purchase of property and equipment (21,633) (5,256)
Purchase of intangible assets (1,285) (453)
Purchase of long-term investment (Note 14) (1,453) 0
(Increase) decrease of time deposits 48,208 (144,530)
Proceeds from selling trading securities 17,709 0
Dividends from unconsolidated affiliates 5,095 0
Net cash (used in) provided by investing activities 46,641 (150,239)
Cash flows from financing activities:    
Repayments of short-term borrowings 0 (4,921)
Repayments of long-term borrowings (1,111) (800)
Proceeds from exercise of stock options 4,525 750
Net cash (used in) provided by financing activities 3,414 (4,971)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (16,264) (22,216)
Net increase (decrease) in cash, cash equivalents and restricted cash 9,551 (238,723)
Cash, cash equivalents and restricted cash at beginning of period 248,451 563,067
Cash, cash equivalents and restricted cash at end of period 258,002 324,344
Supplemental disclosure of cash flow information:    
Interest paid, net of capitalized interest 1,344 567
Cash paid for income taxes 7,243 119
Reconciliation of cash, cash equivalents and restricted cash in condensed consolidated statements of cash flows:    
Cash and cash equivalents 257,420 324,344
Restricted cash 582 0
Cash, cash equivalents and restricted cash 258,002 324,344
Non-cash financing activities:    
Conversion of Class B common stock to Class A common stock 0 1,002
Cashless exercise of stock options $ 79 $ 68