XML 46 R33.htm IDEA: XBRL DOCUMENT
v3.22.1

Derivatives (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Derivatives |
Schedule of fair value of derivative instruments | The following table presents the fair value of derivative instruments included within the consolidated balance sheets as of December 31, 2021 and 2020 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Balance Sheet Location |  | Fair Value
​ | ​ | ​ | ​ | 2021 | ​ | 2020
Derivatives designated as hedging instruments: |  |  |  | ​ |  |  | ​ |
Foreign currency forward contracts | ​ | Accrued expenses | ​ | $ | 353 | ​ | $ | -
Foreign currency forward contracts |  | Prepaid expenses and other current assets | ​ | $ | - | ​ | $ | 48
Schedule of effects of foreign currency forward contracts designated as cash flow hedges | The effect of foreign currency forward contracts designated as cash flow hedges on the consolidated statements of operations for the years ended December 31, 2021 and 2020 were as follows (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | 2021 |  | 2020
Loss recognized in OCI(1) | ​ | $ | (458) | ​ | $ | (106)
Loss reclassified from accumulated OCI into income(2) | ​ | $ | (105) | ​ | $ | (73)
Gain recognized in income(3) | ​ | $ | - | ​ | $ | -

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

X
- Definition Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4E -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624181-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock
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