v3.22.4
ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (schedule of reclassifications of other comprehensive income loss) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]      
Cost of revenues $ 2,265,631 $ 1,334,547 $ 997,912
Research and development 289,814 219,633 163,123
Sales and marketing 159,680 119,000 95,985
General and administrative 112,496 82,196 63,119
Total, before income taxes 678,528 422,179 318,798
Income taxes (83,376) (18,054) (23,344)
Net Income (Loss), Including Portion Attributable to Noncontrolling Interest 93,779 169,170 140,322
Unrealized gains (losses) on available-for-sale marketable securities [Member] | Amount Reclassified from Accumulated Other Comprehensive Income (Loss) [Member]      
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]      
Financial income (expenses), net (736) 16 (0)
Income taxes 115 (4) 0
Total, net of income taxes (621) 12 (0)
Unrealized gains (losses) on cash flow hedges [Member] | Amount Reclassified from Accumulated Other Comprehensive Income (Loss) [Member]      
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]      
Cost of revenues (801) 333 189
Research and development (4,142) 1,645 623
Sales and marketing (959) 334 136
General and administrative (1,122) 430 153
Total, before income taxes (7,024) 2,742 1,101
Income taxes 694 (327) (135)
Net Income (Loss), Including Portion Attributable to Noncontrolling Interest (6,330) 2,415 966
Total reclassifications for the period $ (6,951) $ 2,427 $ (966)