XML 107 R94.htm IDEA: XBRL DOCUMENT
v3.22.1

Commitments and Contingencies (Details) $ in Thousands |  |  | 12 Months Ended
--- | --- | --- | ---
Jul. 31, 2021 USD ($) | Sep. 30, 2016 USD ($) | Sep. 30, 2016 ILS (₪) | Dec. 31, 2021 USD ($)
Commitments and Contingencies (Details) [Line Items] |  |  |  |
Damages plaintiffs amount |  | $ 2,400 |  |
Plaintiffs amount | $ 1,600 |  |  |
NIS [Member] |  |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |  |
Sought damages in amount (in New Shekels) | ₪ |  |  | ₪ 34,106 |
Customer Contracts [Member] |  |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |  |
Restricted bank deposits |  |  |  | $ 295
Customer Contracts [Member] | Maximum [Member] |  |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |  |
Bank guarantees amount |  |  |  | 3,100
Customer Contracts [Member] | Minimum [Member] |  |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |  |
Bank guarantees amount |  |  |  | $ 992

X
- Definition Bank guarantees amount. + References No definition available. + Details
Name: | mgic_BankGuaranteesAmount
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Plaintiffs Amount. + References No definition available. + Details
Name: | mgic_PlaintiffsAmount
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Restricted bank deposits + References No definition available. + Details
Name: | mgic_RestrictedBankDeposits
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of damages paid to the plaintiff in the legal matter. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 + Details
Name: | us-gaap_LossContingencyDamagesPaidValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The value (monetary amount) of the award the plaintiff seeks in the legal matter. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 + Details
Name: | us-gaap_LossContingencyDamagesSoughtValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | mgic_TypeOfCurrencyAxis=mgic_NISMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerContractsMember
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: |

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