DERIVATIVES - Schedule of cumulative fair value hedge basis adjustments (Details) - USD ($) $ in Thousands |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|
| Derivative Instruments and Hedging Activities Disclosure [Abstract] | ||
| Carrying amount of the hedged items, Crypto assets held | $ 201,565 | $ 421,685 |
| Cumulative amount of fair value hedging adjustments included in the carrying amount of hedged items, active hedging relationships, Crypto assets held | (562) | (240,771) |
| Cumulative amount of fair value hedging adjustments included in the carrying amount of hedged items, discontinued hedging relationships, Crypto assets held | 670 | 0 |
| Cumulative amount of fair value hedging adjustments included in the carrying amount of hedged items, total, Crypto assets held | $ 108 | $ (240,771) |