XML 109 R96.htm IDEA: XBRL DOCUMENT
v3.22.1

Segment Geographical Information and Major Customers (Details) | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Segment Geographical Information and Major Customers (Details) [Line Items] |  |  |
Number of segments | 2 |  |
Revenue Benchmark [Member] |  |  |
Segment Geographical Information and Major Customers (Details) [Line Items] |  |  |
Percentage of major customer | 14.00% | 10.00% | 9.00%

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

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

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 18 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_SalesRevenueNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |