v3.24.0.1
ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (schedule of changes in aoci) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning balance $ (73,109) $ (27,319) $ 3,857
Revaluation 23,959 (59,249) (29,649)
Tax on revaluation (5,504) 6,508 900
Other comprehensive income (loss) before reclassifications 18,455 (52,741) 28,749
Reclassification 8,432 7,760 (2,758)
Tax on reclassification (663) (809) 331
Gains (Losses) reclassified from accumulated other comprehensive income 7,769 6,951 (2,427)
Net current period other comprehensive income (loss) 26,224 (45,790) (31,176)
Ending balance (46,885) (73,109) (27,319)
Unrealized gains (losses) on available-for-sale marketable securities [Member]      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning balance (25,449) (4,709) 240
Revaluation 25,898 (26,944) (6,283)
Tax on revaluation (5,487) 5,583 1,346
Other comprehensive income (loss) before reclassifications 20,411 (21,361) (4,937)
Reclassification 107 736 (16)
Tax on reclassification (29) (115) 4
Gains (Losses) reclassified from accumulated other comprehensive income 78 621 (12)
Net current period other comprehensive income (loss) 20,489 (20,740) (4,949)
Ending balance (4,960) (25,449) (4,709)
Unrealized gains (losses) on cash flow hedges [Member]      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning balance (1,761) 874 0
Revaluation (1,973) (9,890) 3,735
Tax on revaluation (17) 925 (446)
Other comprehensive income (loss) before reclassifications (1,990) (8,965) 3,289
Reclassification 8,325 7,024 (2,742)
Tax on reclassification (634) (694) 327
Gains (Losses) reclassified from accumulated other comprehensive income 7,691 6,330 (2,415)
Net current period other comprehensive income (loss) 5,701 (2,635) 874
Ending balance 3,940 (1,761) 874
Foreign currency translation adjustments on intra-entity transactions that are of a long-term investment in nature [Member]      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning balance (37,960) (17,420) 0
Revaluation (5,375) (20,540) (17,420)
Tax on revaluation 0 0 0
Other comprehensive income (loss) before reclassifications (5,375) (20,540) (17,420)
Reclassification 0 0 0
Tax on reclassification 0 0 0
Gains (Losses) reclassified from accumulated other comprehensive income 0 0 0
Net current period other comprehensive income (loss) (5,375) (20,540) (17,420)
Ending balance (43,335) (37,960) (17,420)
Unrealized gains (losses) on foreign currency translation [Member]      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning balance (7,939) (6,064) 3,617
Revaluation 5,409 (1,875) (9,681)
Tax on revaluation 0 0 0
Other comprehensive income (loss) before reclassifications 5,409 (1,875) (9,681)
Reclassification 0 0 0
Tax on reclassification 0 0 0
Gains (Losses) reclassified from accumulated other comprehensive income 0 0 0
Net current period other comprehensive income (loss) 5,409 (1,875) (9,681)
Ending balance $ (2,530) $ (7,939) $ (6,064)