General form of registration statement for all companies including face-amount certificate companies

NET LOSS PER SHARE (Details) - Schedule of antidilutive securities excluded from computation of earnings per share

v3.21.2
NET LOSS PER SHARE (Details) - Schedule of antidilutive securities excluded from computation of earnings per share - shares
6 Months Ended 12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Dec. 31, 2020
Dec. 31, 2019
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount 20,666,383 1,083,498 20,079,536 1,259,141
Common stock warrants        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount 17,850,460 17,963,591 63,597
SAMA earnout shares        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount 570,211 1,140,423
Stock options        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount 802,769 1,083,498 896,888 1,195,544
Unvested restricted share units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount 1,442,943 78,634