XML 121 R108.htm IDEA: XBRL DOCUMENT
v3.22.1

Leases (Details) - Schedule of maturities of lease liabilities $ in Thousands | Dec. 31, 2021 USD ($)
--- | ---
Schedule of maturities of lease liabilities [Abstract] |
2022 | $ 4,405
2023 | 3,630
2024 | 2,514
2025 | 2,402
2026 | 1,622
2027 and thereafter | 16,505
Total undiscounted cash flows | 31,078
Less imputed interest | (6,165)
Present value of lease liabilities | $ 24,913

X
- References No definition available. + Details
Name: | mgic_LessImputedInterest
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee operating lease liability payments due in rolling year six. + References No definition available. + Details
Name: | mgic_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearSix
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgic_OperatingLeasesFutureMinimumPaymentDue
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgic_OperatingLeasesFutureMinimumPaymentDueInFiveYears
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgic_OperatingLeasesFutureMinimumPaymentDueInFourYears
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgic_OperatingLeasesFutureMinimumPaymentDueInThreeYears
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgic_OperatingLeasesFutureMinimumPaymentDueInTwoYears
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | mgic_OperatingLeasesFutureMinimumPaymentDueThereafter
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant