XML 102 R89.htm IDEA: XBRL DOCUMENT
v3.22.1

Equity (Details) - USD ($) |  |  | 12 Months Ended |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Mar. 07, 2021 | Aug. 09, 2017 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2015 | Dec. 31, 2012 | Aug. 12, 2021 | Mar. 08, 2021 | Aug. 13, 2020 | May 26, 2020 | Aug. 13, 2019 | Mar. 04, 2019 | Dec. 31, 2007
Equity (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Vest period | four-year |  |  |  |  |  |  |  |  |  |  |  |  |
Intrinsic value of options exercised |  |  | $ 628 | $ 765 | $ 537 |  |  |  |  |  |  |  |  |
Total unrecognized compensation |  |  |  | $ 393 |  |  |  |  |  |  |  |  |  |
Weighted-average period |  |  |  | 1 year 3 months 14 days |  |  |  |  |  |  |  |  |  |
Maximum percentage of distribution of dividend in each year. |  | 75.00% |  |  |  |  |  |  |  |  |  |  |  |
Aggregate dividend value |  |  |  |  |  |  |  | $ 11,480 | $ 10,297 | $ 8,585 | $ 3,918 | $ 7,628 | $ 7,335 |
Dividend distributions of per share (in Dollars per share) |  |  |  |  |  |  |  | $ 0.23 | $ 0.21 | $ 0.175 | $ 0.08 | $ 0.156 | $ 0.15 |
Senior Executive Officers [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares purchase (in Shares) | 80,000 |  |  |  |  |  |  |  |  |  |  |  |  |
2007 Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Reserved ordinary shares for issuance (in Shares) |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,500,000
Additional ordinary shares (in Shares) |  |  |  |  |  | 250,000 | 1,000,000 |  |  |  |  |  |  |
Expiration period |  |  |  |  |  | 10 years |  |  |  |  |  |  |  |
Aggregate of ordinary shares for future grants (in Shares) |  |  |  | 932,500 |  |  |  |  |  |  |  |  |  |
2007 Plan [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Options vest years |  |  |  | 3 years |  |  |  |  |  |  |  |  |  |
2007 Plan [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity (Details) [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |
Options vest years |  |  |  | 4 years |  |  |  |  |  |  |  |  |  |

X
- Definition Maximum percentage of distribution of dividend in each year. + References No definition available. + Details
Name: | mgic_DividendDistributionMaximumPercentage
Namespace Prefix: | mgic_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Shares purchase + References No definition available. + Details
Name: | mgic_SharesPurchase
Namespace Prefix: | mgic_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Vest period. + References No definition available. + Details
Name: | mgic_VestPeriod
Namespace Prefix: | mgic_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The per share amount of a dividend declared, but not paid, as of the financial reporting date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 + Details
Name: | us-gaap_DividendsPayableAmountPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(24)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(15)(5)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(20)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(15)(5)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_DividendsPayableCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Remaining weighted average contract period of financial guarantee insurance contracts, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 55 -Paragraph 32 -URI https://asc.fasb.org/extlink&oid=99379334&loc=SL5751133-161288 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 50 -Paragraph 9 -Subparagraph (a)(5)(ii) -URI https://asc.fasb.org/extlink&oid=99382878&loc=SL5749324-161292 + Details
Name: | us-gaap_InsuredFinancialObligationsWithCreditDeteriorationRemainingWeightedAverageContractPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of additional shares authorized for issuance under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in unrecognized tax benefits attributable to uncertain tax positions taken in tax returns. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=mgic_TwoThousandAndSevenPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |