BUSINESS COMBINATION - Schedule Aggregate Consideration (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands  | 
12 Months Ended | |||
|---|---|---|---|---|
Jun. 21, 2021  | 
Dec. 31, 2021  | 
Dec. 31, 2020  | 
Dec. 31, 2019  | 
|
| Business Combination and Asset Acquisition [Abstract] | ||||
| Cash consideration | $ 102,020 | |||
| Shares transferred at closing | 86,838 | |||
| Value per share (USD per share) | $ 10.00 | |||
| Share consideration | $ 868,380 | |||
| Total consideration | $ 970,400 | $ 185,170 | $ 0 | $ 0 | 
| Shares of common stock underlying vested options (shares) | 7,060 | |||
| Total consideration for vested options | $ 70,600 | |||
| Aggregate consideration | $ 1,041,000 | |||
| X | ||||||||||
- Definition Proceeds From Reverse Recapitalization Transaction No definition available. 
  | 
| X | ||||||||||
- Definition Reverse Recapitalization, Aggregate Consideration No definition available. 
  | 
| X | ||||||||||
- Definition Reverse Recapitalization, Cash Paid To Shareholders No definition available. 
  | 
| X | ||||||||||
- Definition Stock Converted, Reverse Recapitalization No definition available. 
  | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Cash received on stock transaction after deduction of issuance costs. No definition available. 
  | 
| X | ||||||||||
- Definition Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction. No definition available. 
  | 
| X | ||||||||||
- Definition Number of new stock issued during the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  |