XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS
$ in Thousands
6 Months Ended
Jun. 30, 2022
USD ($)
Jun. 30, 2021
USD ($)
Cash flows from operating activities    
Net loss $ (87,958) $ (43,368)
Adjustments to reconcile net loss to net cash used in operating activities:    
Loss on disposal of property, plant and equipment 13 6
Depreciation of property, plant and equipment 10,377 9,475
Amortization of land use right and intangible assets 283 376
Noncash lease expenses 1,112 0
Share-based compensation 53,650 0
Changes in fair value of warrant liability (820) 0
Changes in fair value of convertible notes 0 6,843
(Reversal) allowance of credit losses 380 (196)
Provision for obsolete inventories 1,919 6,098
Impairment loss from property, plant and equipment 493 258
Product warranty 6,235 9,057
Changes in operating assets and liabilities:    
Notes receivable (20,647) 3,352
Accounts receivable (21,856) 11,813
Inventories (15,906) (16,134)
Prepaid expenses and other current assets 1,689 175
Amount due from/to related parties 85 0
Operating lease right-of-use assets (19,260) 0
Other non-current assets 111 33
Notes payable 19,237 (3,989)
Accounts payable 808 1,390
Advance from customers 3,230 167
Accrued expenses and other liabilities (13,704) (381)
Operating lease liabilities 15,838 0
Other non-current liabilities 1,156 0
Net cash used in operating activities (63,535) (15,025)
Cash flows from investing activities    
Purchases of property, plant and equipment (67,915) (29,858)
Proceeds on disposal of property, plant and equipment 2 0
Net cash used in investing activities (67,913) (29,858)
Cash flows from financing activities    
Proceeds from borrowings 13,466 26,603
Repayment of bank borrowings (17,332) (12,265)
Loans borrowing from related parties 0 8,426
Repayment of related party loans 0 (8,426)
Payment for transaction fee in connection with the merger 0 (2,327)
Payment to exited noncontrolling interests 0 (33,047)
Issuance of convertible notes 0 57,500
Net cash generated from (used in) financing activities (3,866) 36,464
Effect of exchange rate changes (3,863) 1,050
Decrease in cash, cash equivalents and restricted cash (139,177) (7,369)
Cash, cash equivalents and restricted cash at beginning of the period 536,109 41,196
Cash, cash equivalents and restricted cash at end of the period 396,932 33,827
Cash and cash equivalents 333,867 13,367
Restricted cash 63,065 20,460
Total cash, cash equivalents and restricted cash $ 396,932 $ 33,827