XML 66 R53.htm IDEA: XBRL DOCUMENT
v3.22.1

Significant Accounting Policies (Details) - Schedule of stock-based compensation expense related to employee stock options - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Schedule of stock-based compensation expense related to employee stock options [Abstract] |  |  |
Selling and marketing | $ 956 |  | $ 74

X
- References No definition available. + Details
Name: | mgic_ScheduleOfStockBasedCompensationExpenseRelatedToEmployeeStockOptionsAbstract
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