XML 79 R64.htm IDEA: XBRL DOCUMENT
v3.21.1

Fair Value Measurements (Details) - Schedule of financial assets measured at fair value on a recurring basis - USD ($) $ in Thousands | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | ---
Assets: |  |
Corporate bonds |  | $ 5,488
Convertible bonds | 1,238 | 1,112
Total financial assets | 1,238 | 6,600
Liabilities: |  |
Contingent consideration | 11,206 | 5,964
Total financials liabilities | 11,206 | 5,964
Level 1 [Member] |  |
Assets: |  |
Corporate bonds |  |
Convertible bonds |  |
Total financial assets |  |
Liabilities: |  |
Contingent consideration |  |
Total financials liabilities |  |
Level 2 [Member] |  |
Assets: |  |
Corporate bonds |  | 5,488
Convertible bonds | 1,238 | 1,112
Total financial assets | 1,238 | 6,600
Liabilities: |  |
Contingent consideration |  |
Total financials liabilities |  |
Level 3 [Member] |  |
Assets: |  |
Corporate bonds |  |
Convertible bonds |  |
Total financial assets |  |
Liabilities: |  |
Contingent consideration | 11,206 | 5,964
Total financials liabilities | $ 11,206 | $ 5,964

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 http://asc.fasb.org/extlink&oid=117815213&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 http://asc.fasb.org/extlink&oid=117815213&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 http://asc.fasb.org/extlink&oid=117815213&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: |