XML 76 R61.htm IDEA: XBRL DOCUMENT
v3.21.1

Marketable Securities (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 USD ($)
Investments, Debt and Equity Securities [Abstract] |
Recognized trading losses, amount | $ 126

X
- Definition Recognized trading losses, amount. + References No definition available. + Details
Name: | mgic_RecognizedTradingLossesAmount
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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