XML 52 R39.htm IDEA: XBRL DOCUMENT
v3.22.1

DERIVATIVE INSTRUMENTS (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
General Discussion of Derivative Instruments and Hedging Activities [Abstract] |
Schedule of Notional and Fair Value Amounts of Outstanding Derivative Instruments |
| Notional amount |  | Fair value (Level 2 within the fair value hierarchy)
| December 31, |  | December 31,
| 2021 |  | 2020 |  | 2021 |  | 2020
Option contracts to hedge payroll |  |  |  |  |  |  |
expenses INR | — |  |  | 15,733 |  |  | — |  |  | 795 |
Option contracts to hedge lease obligations |  |  |  |  |  |  |
expenses INR | — |  |  | 901 |  |  | — |  |  | 46 |
Forward contracts to hedge payroll |  |  |  |  |  |  |
expenses NIS | 125,884 |  |  | 67,652 |  |  | 4,164 |  |  | 4,807 |
expenses INR | 42,562 |  |  | 7,866 |  |  | 798 |  |  | 168 |
expenses PHP | 705 |  |  | 1,623 |  |  | (5) |  |  | 3 |
Forward contracts to hedge lease obligations |  |  |  |  |  |  |
expenses INR | 1,451 |  |  | 451 |  |  | 30 |  |  | 10 |
| $ | 170,602 |  |  | $ | 94,226 |  |  | $ | 4,987 |  |  | $ | 5,829 |
Schedule of Fair Value of Derivative Instruments by Balance Sheet Location | The fair value of the Company's outstanding derivative instruments at December 31, 2021 and 2020 is summarized below:
|  |  | Fair value of derivative instruments
|  |  | December 31,
| Balance sheet line item |  | 2021 |  | 2020
Derivative assets: |  |  |  |  |
Foreign exchange option contracts | Prepaid expenses and other current assets |  | $ | — |  |  | $ | 841 |
Foreign exchange forward contracts | Prepaid expenses and other current assets |  | 4,992 |  |  | 4,988 |
Derivative liabilities: |  |  |  |  |
Foreign exchange forward contracts | Accrued expenses and other liabilities |  | $ | (5) |  |  | $ | — |
Schedule of Effect of Derivative Instruments in Cash Flow Hedging Relationship on Income and Other Comprehensive Income | The effect of derivative instruments in cash flow hedging relationship on income and other comprehensive income for the years ended December 31, 2021, 2020 and 2019 is summarized below:
| Amount of gain (loss) recognized in other comprehensive income on derivative, net of tax (effective portion)
| Year Ended December 31,
| 2021 |  | 2020 |  | 2019
Derivatives in foreign exchange cash flow hedging relationships: |  |  |  |  |
Forward contracts | $ | 4,993 |  |  | $ | 5,901 |  |  | $ | 2,108 |
Option contracts | 31 |  |  | (947) |  |  | 3,387 |
| $ | 5,024 |  |  | $ | 4,954 |  |  | $ | 5,495 |
Derivatives in foreign exchange cash flow hedging relationships for the years ended December 31, 2021, 2020 and 2019 is summarized below:
|  |  |  | Amount of gain (loss) reclassified from other comprehensive income into income (expenses), net of tax (effective portion)
|  |  |  | Year Ended December 31,
|  | Statements of income line item |  | 2021 |  | 2020 |  | 2019
Option contracts to hedge payroll and facility expenses |  | Cost of revenues and operating expenses |  | $ | (771) |  |  | $ | (490) |  |  | $ | 320 |
Forward contracts to hedge payroll and facility expenses |  | Cost of revenues, operating expenses and financial expenses |  | (5,157) |  |  | (1,979) |  |  | (749) |
|  |  |  | $ | (5,928) |  |  | $ | (2,469) |  |  | $ | (429) |

X
- References No definition available. + Details
Name: | us-gaap_GeneralDiscussionOfDerivativeInstrumentsAndHedgingActivitiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of gain (loss) on derivative and nonderivative instruments designated and qualifying as cash flow hedge recorded in accumulated other comprehensive income (AOCI) and reclassified into earnings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative assets at fair value. + References No definition available. + Details
Name: | us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 + Details
Name: | us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration