XML 115 R102.htm IDEA: XBRL DOCUMENT
v3.22.1

Revenue Recognition (Details) - Schedule of trade receivables, unbilled receivables, contract assets, and contract liabilities (deferred revenues) from contracts with customers (Parentheticals) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Schedule of trade receivables, unbilled receivables, contract assets, and contract liabilities (deferred revenues) from contracts with customers [Abstract] |  |
Net of allowance for credit losses | $ 3,967 | $ 5,071

X
- Definition Net of allowance for credit losses. + References No definition available. + Details
Name: | mgic_NetOfAllowanceForCreditLosses
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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