XML 107 R93.htm IDEA: XBRL DOCUMENT
v3.23.1

Leases (Details) - Schedule of weighted average remaining lease terms | Dec. 31, 2022
--- | ---
Schedule of Weighted Average Remaining Lease Terms [Abstract] |
Weighted average remaining lease term (years) | 12 years 4 months 24 days
Weighted average discount rate | 2.96%

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

X
- References No definition available. + Details
Name: | mgic_WeightedAverageDiscountRate
Namespace Prefix: | mgic_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | mgic_WeightedAverageRemainingLeaseTermyears
Namespace Prefix: | mgic_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant