XML 110 R97.htm IDEA: XBRL DOCUMENT
v3.22.1

Segment Geographical Information and Major Customers (Details) - Schedule of reported segment results of operation - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Segment Reporting Information [Line Items] |  |  |
Total revenues | $ 480,325 | $ 371,194 | $ 325,630
Expenses | 429,089 | 330,606 | 291,978
Segment operating income (loss) | 51,236 | 40,588 | 33,652
Depreciation and amortization | 14,852 | 13,939 | 14,025
Software Services [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Total revenues | 95,589 | 86,025 | 86,140
Expenses | 74,863 | 64,498 | 71,825
Segment operating income (loss) | 20,726 | 21,527 | 14,315
Depreciation and amortization | 9,261 | 10,329 | 8,799
IT Professional Services [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Total revenues | 384,736 | 285,169 | 239,490
Expenses | 347,712 | 258,907 | 216,842
Segment operating income (loss) | 37,024 | 26,262 | 22,648
Depreciation and amortization | 5,220 | 3,347 | 5,059
Unallocated Expenses [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Total revenues |  |  |
Expenses | 6,514 | 7,201 | 3,311
Segment operating income (loss) | (6,514) | (7,201) | (3,311)
Depreciation and amortization | $ 371 | $ 263 | $ 167

X
- Definition The amount of expenses, + References No definition available. + Details
Name: | mgic_Expenses
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Total revenues + References No definition available. + Details
Name: | mgic_SalesRevenuesNet
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of segment operating income loss. + References No definition available. + Details
Name: | mgic_SegmentOperatingIncomeloss
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expense charged against earnings to allocate the cost of tangible and intangible assets over their remaining economic lives, classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.3) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_OtherDepreciationAndAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_SegmentReportingInformationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mgic_SoftwareServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mgic_ItProfessionalServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mgic_UnallocatedExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |