XML 68 R11.htm IDEA: XBRL DOCUMENT v3.23.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Net Cash Provided by (Used in) Operating Activities [Abstract]      
Net loss $ (282,116) $ (256,725) $ (111,581)
Adjustments to reconcile net loss to net cash used in operating activities      
Share-based compensation expense 10,603 21,982 11,972
Depreciation and amortization 8,189 6,118 5,310
Obsolescence of inventory 1,990 856 0
Noncash lease expense 3,754 1,556 0
Non-cash interest expense (income) (1,909) (873) 14,785
Allowance for doubtful accounts 907 362 1,219
Bad debt expense 0 0 1,643
Income tax benefit (7,902) (12,011) (3,308)
Issuance of common stock for professional fees 1,647 1,430 0
Expense due to conversion of notes 0 0 2,266
Other income (forgiveness of liabilities) 404 (1,198) 0
Change in fair value of contingent consideration, net (131) (9,600) (5,503)
Gain on extinguishment of debt 0 (300) (8,891)
Impairment of and equity in loss of equity method investees 15,018 11,529 16,780
Settlement of ROU operating lease liabilities 0 0 (5,926)
Loss on disposal of fixed assets 269 0 0
Asset impairments 130,201 172,540 51,319
Foreign currency exchange losses 974 0 0
Loss (gain) on disposal of subsidiaries, net 273 1,323 (276)
Gain on remeasurement of investment (10,965) (2,915) 0
Change in assets and liabilities, net of acquisitions:      
Accounts receivable (1,653) 5,941 (6,214)
Inventory (14,997) (4,418) 0
Prepaid expenses and other assets 5,943 (13,089) (6,745)
Accounts payable 19,593 (1,577) 2,206
Deferred revenue (3,665) 2,188 652
Amount due to related parties (interest) (617) 665 1,269
Accrued expenses, salary and other current liabilities (5,799) 686 (2,445)
Net cash used in operating activities (129,989) (75,530) (41,468)
Cash flows from investing activities:      
Acquisition of property and equipment (7,315) (2,807) (191)
Acquisition of intangible assets (560) (3,712) 0
Proceeds from disposal of fixed asset 370 0 0
Disposal of subsidiaries, net of cash disposed (12) 2,495 0
Acquisition of subsidiaries, net of cash acquired (54,889) (100,859) 0
Proceeds from selling available for sales securities 4,031 0 0
Investment in debt securities (32,445) (70,047) 0
Investments in long-term investment (3,477) (44,941) (2,850)
Proceed from long term investment 659 0 0
Notes receivable from related party 0 0 0
Loans to third-parties 0 0 (1,988)
Loans to related-party (1,319) (691) 0
Proceeds from loan repayment 0 473 1,529
Proceeds from loan repayment - related party 400 0 0
Investment in available for sales securities (165) 0 0
Net cash used in investing activities (94,722) (220,089) (3,500)
Cash flows from financing activities      
Proceeds from exercise of options and warrants and issuance of common stock 589 196,835 191,440
Proceeds from issuance of convertible notes 4,875 295,000 27,000
Proceeds from issuance of preferred stock and warrants 10,000 0 0
Borrowings from related parties 2,000 0 0
Borrowings from third parties 485 0 0
Proceeds from revolving line of credit 6,890 0 0
Repayments to third parties (128) 0 0
Principal payments on revolving line of credit (4,706) 0 0
Repayment of convertible notes (40,833) (80,000) (12,000)
Proceeds from noncontrolling interest shareholder 49 157 7,148
Repayment of redeemable noncontrolling interest 0 (8,820) 0
Tax withholding paid for net share settlement of equity awards (84) (3,877) 0
Proceeds (repayments) due from/to related parties 0 0 (2,999)
Payment of finance lease obligations (161) 0 0
Borrowings (repayments) from/to third parties 0 0 (2,540)
Net cash provided by financing activities (21,024) 399,295 208,049
Effect of exchange rate changes on cash (2,199) 423 50
Net increase (decrease) in cash, cash equivalents and restricted cash (247,934) 104,099 163,131
Cash, cash equivalents and restricted cash at the beginning of the year 269,863 165,764 2,633
Cash, cash equivalents and restricted cash at the end of the year 21,929 269,863 165,764
Supplemental disclosure of cash flow information:      
Cash paid for income tax 191 1,410 0
Cash paid for interest 1,578 1,516 3,004
Issuance of shares for contingent consideration 0 0 8,192
Issuance of shares for convertible notes conversion 16,789 157,766 45,114
Tree Technologies measurement period adjustment to goodwill, non-controlling interest and intangible assets 0 0 12,848
Issuance of shares for acquisition of long-term investments 0 59,808 0
Issuance of shares for repayment of convertible note and accrued interest 2,153 0 0
Issuance of shares for SEPA inducement 754 0 0
Issuance of shares for notes receivable 2,786 0 0
Purchases of property and equipment with unpaid costs accrued in accounts payable 541 0 0
Purchases of intangibles with unpaid costs accrued in accounts payable $ 136 $ 0 $ 0