v3.22.4
ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (schedule of changes in aoci) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning balance $ (27,319) $ 3,857 $ (1,809)
Revaluation (59,249) (29,649) 6,836
Tax on revaluation 6,508 900 (204)
Other comprehensive income (loss) before reclassifications (52,741) (28,749) 6,632
Reclassification 7,760 (2,758) (1,101)
Tax on reclassification (809) 331 135
Gains (Losses) reclassified from accumulated other comprehensive income 6,951 (2,427) (966)
Net current period other comprehensive income (loss) (45,790) (31,176) 5,666
Ending balance (73,109) (27,319) 3,857
Unrealized gains (losses) on available-for-sale marketable securities [Member]      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning balance (4,709) 240 264
Revaluation (26,944) (6,283) 45
Tax on revaluation 5,583 1,346 (69)
Other comprehensive income (loss) before reclassifications (21,361) (4,937) (24)
Reclassification 736 (16) 0
Tax on reclassification (115) 4 0
Gains (Losses) reclassified from accumulated other comprehensive income 621 (12) 0
Net current period other comprehensive income (loss) (20,740) (4,949) (24)
Ending balance (25,449) (4,709) 240
Unrealized gains on cash flow hedges [Member]      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning balance 874 0 0
Revaluation (9,890) 3,735 1,101
Tax on revaluation 925 (446) (135)
Other comprehensive income (loss) before reclassifications (8,965) 3,289 966
Reclassification 7,024 (2,742) (1,101)
Tax on reclassification (694) 327 135
Gains (Losses) reclassified from accumulated other comprehensive income 6,330 (2,415) (966)
Net current period other comprehensive income (loss) (2,635) 874 0
Ending balance (1,761) 874 0
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 (17,420) 0 0
Revaluation (20,540) (17,420) 0
Tax on revaluation 0 0  
Other comprehensive income (loss) before reclassifications (20,540) (17,420) 0
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) (20,540) (17,420) 0
Ending balance (37,960) (17,420) 0
Unrealized gains (losses) on foreign currency translation [Member]      
Accumulated Other Comprehensive Income (Loss) [Line Items]      
Beginning balance (6,064) 3,617 (2,073)
Revaluation (1,875) (9,681) 5,690
Tax on revaluation 0 0 0
Other comprehensive income (loss) before reclassifications (1,875) (9,681) 5,690
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) (1,875) (9,681) 5,690
Ending balance $ (7,939) $ (6,064) $ 3,617