XML 68 R53.htm IDEA: XBRL DOCUMENT
v3.21.1

Significant Accounting Policies (Details) - Schedule of stock-based compensation expense related to employee stock options - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018
Significant Accounting Policies (Details) - Schedule of stock-based compensation expense related to employee stock options [Line Items] |  |
Total stock-based compensation expense | $ 74 | $ 194
Cost of revenues [Member] |  |
Significant Accounting Policies (Details) - Schedule of stock-based compensation expense related to employee stock options [Line Items] |  |
Total stock-based compensation expense |  | 2
Research and development, net [Member] |  |
Significant Accounting Policies (Details) - Schedule of stock-based compensation expense related to employee stock options [Line Items] |  |
Total stock-based compensation expense |  | 4
Selling and marketing [Member] |  |
Significant Accounting Policies (Details) - Schedule of stock-based compensation expense related to employee stock options [Line Items] |  |
Total stock-based compensation expense | 74 | 4
General and administrative [Member] |  |
Significant Accounting Policies (Details) - Schedule of stock-based compensation expense related to employee stock options [Line Items] |  |
Total stock-based compensation expense |  | $ 184

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

X
- Definition Amount, after tax, of expense for award under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_ResearchAndDevelopmentExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingAndMarketingExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GeneralAndAdministrativeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |