XML 83 R70.htm IDEA: XBRL DOCUMENT
v3.22.1

Fair Value Measurements (Details) - Schedule of financial assets measured at fair value on a recurring basis - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Assets: |  |
Corporate bonds |  |
Convertible bonds | 1,142 | $ 1,238
Total financial assets | 1,142 | 1,238
Liabilities: |  |
Contingent consideration | 17,771 | 10,561
Total financials liabilities | 17,771 | 10,561
Level 1 [Member] |  |
Assets: |  |
Corporate bonds |  |
Convertible bonds |  |
Total financial assets |  |
Liabilities: |  |
Contingent consideration |  |
Total financials liabilities |  |
Level 2 [Member] |  |
Assets: |  |
Corporate bonds |  |
Convertible bonds | 1,142 | 1,238
Total financial assets | 1,142 | 1,238
Liabilities: |  |
Contingent consideration |  |
Total financials liabilities |  |
Level 3 [Member] |  |
Assets: |  |
Corporate bonds |  |
Convertible bonds |  |
Total financial assets |  |
Liabilities: |  |
Contingent consideration | 17,771 | 10,561
Total financials liabilities | $ 17,771 | $ 10,561

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

X
- Definition Fair value of convertible bonds. + References No definition available. + Details
Name: | mgic_ConvertibleBondsFairValueDisclosure
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of corporate bonds. + References No definition available. + Details
Name: | mgic_CorporateBondsFairValueDisclosure
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of contingent consideration in a business combination that is classified in shareholders' equity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_ContingentConsiderationClassifiedAsEquityFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Fair value of financial and nonfinancial obligations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_LiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |