v3.22.2.2
NET LOSS PER SHARE- Schedule of Shares Outstanding Were Excluded from the Calculation of Diluted Net Loss Per Ordinary Share (Details) - shares
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Net Loss Per Share [Line Items]        
Shares issuable upon exercise of stock options (in shares) 27,032,668 33,641,132 31,529,919 33,869,470
Shares issuable upon vesting of non-vested shares (in shares) 1,815,043 98,094 1,282,482 33,093
Shares issuable upon vesting of Capped non-vested shares (in shares) 15,017,783 0 5,280,978 0
Shares issuable upon exercise of warrants (in shares) 28,437,000 21,327,750 28,437,000 7,187,374
Shares issuable upon conversion of non-controlling interests of a subsidiary (in shares) 0 4,125,761 0 12,829,289
Shares issuable upon vesting of Earn-out shares (in shares) 19,999,988 14,999,991 19,999,988 5,054,942
Shares issuable that may be subject to cancellation (in shares) 1,687,500 1,265,625 1,687,500 426,511
Shares issuable upon conversion of Series B2 Preferred        
Net Loss Per Share [Line Items]        
Shares issuable upon conversion of Series Preferred 0 7,153,219 0 8,076,300
Shares issuable upon conversion of Series C1 Preferred        
Net Loss Per Share [Line Items]        
Shares issuable upon conversion of Series Preferred 0 6,398,475 0 19,896,422
Shares issuable upon conversion of Series C2 Preferred        
Net Loss Per Share [Line Items]        
Shares issuable upon conversion of Series Preferred 0 4,842,260 0 15,057,284
Shares issuable upon conversion of Series D1 Preferred        
Net Loss Per Share [Line Items]        
Shares issuable upon conversion of Series Preferred 0 5,335,362 0 16,590,614
Shares issuable upon conversion of Series D2 Preferred        
Net Loss Per Share [Line Items]        
Shares issuable upon conversion of Series Preferred 0 1,606,919 0 4,996,808