DESCRIPTION OF ORGANIZATION AND BUSINESS OPERATIONS (Details) $ / shares in Units, $ in Thousands | Oct. 23, 2020USD ($)$ / sharesshares | Oct. 22, 2020$ / sharesshares | Jan. 31, 2021USD ($)shares | Dec. 31, 2020USD ($)$ / sharesshares | Dec. 31, 2019USD ($)$ / sharesshares | Dec. 31, 2020USD ($)$ / sharesshares | Jun. 30, 2019$ / shares | Apr. 30, 2019$ / shares |
Business Acquisition [Line Items] | | | | | | | | |
Common stock, par value | $ / shares | | | | $ 0.0001 | $ 0.0001 | $ 0.0001 | $ 0.0001 | $ 0.0001 |
Common stock issued for exercise of warrants | | | | | | $ 30,692 | | |
Aggregate purchase price | | | | | $ 7,494 | 6,439 | | |
Cash proceeds from exercise of warrants | | | | | | $ 30,692 | | |
Common Stock, Shares, Outstanding | shares | | | | 168,007,960 | 68,279,182 | 168,007,960 | | |
Common stock issued in recapitalization, net of redemptions and transaction costs | $ 745,500 | | | | | $ 745,520 | | |
Cash received in recapitalization, net of transaction costs | $ 671,800 | | | | | 671,836 | | |
Cumulative losses | | | | $ (110,948) | $ (10,391) | (110,948) | | |
Cash and cash equivalents | | | | $ 629,761 | $ 2,159 | $ 629,761 | | |
Merger Agreement With Diamond Peak Holdings Corp [Member] | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | |
Common stock, par value | $ / shares | $ 0.0001 | | | | | | | |
Exchange ratio | 55.8817 | | | | | | | |
Aggregate shares | shares | 75,918,063 | | | | | | | |
Class A common stock | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | |
Common stock, par value | $ / shares | $ 0.0001 | | | | | | | |
Conversion of Stock, Shares Issued | shares | | 7,000,000 | | | | | | |
Common stock issued | shares | 50,000,000 | | | | | | | |
Shares issued price per share | $ / shares | $ 10 | | | | | | | |
Aggregate purchase price | $ 500,000 | | | | | | | |
Shares issued upon notes conversion | shares | 4,000,000 | | | | | | | |
Amount of shares issued upon notes conversion | $ 40,000 | | | | | | | |
Conversion price per share | $ / shares | $ 10 | | | | | | | |
Class B common stock | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | |
Common stock, par value | $ / shares | | $ 0.0001 | | | | | | |
Exchange ratio | | 1 | | | | | | |
B G L Warrants [Member] | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | |
Warrants to purchase common stock | shares | 1,600,000 | | | | | | | |
Warrant purchase price per share | $ / shares | $ 10 | | | | | | | |
Public Warrants [Member] | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | |
Common stock issued for exercise of warrants (in shares) | shares | | | | 2,700,000 | | | | |
Warrants to purchase common stock | shares | 9,300,000 | | | | | | | |
Warrant purchase price per share | $ / shares | $ 11.50 | | | | | | | |
Cash proceeds from exercise of warrants | | | | $ 30,700 | | | | |
Private Placement Warrants [Member] | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | |
Warrants to purchase common stock | shares | 5,100,000 | | | | | | | |
Private Placement Warrants [Member] | Subsequent Event [Member] | | | | | | | | |
Business Acquisition [Line Items] | | | | | | | | |
Common stock issued for exercise of warrants (in shares) | shares | | | 600,000 | | | | | |
Cash proceeds from exercise of warrants | | | $ 82,000 | | | | | |