XML 122 R109.htm IDEA: XBRL DOCUMENT
v3.22.1

Subsequent Events (Details) - USD ($) $ / shares in Units, $ in Millions |  |  | 1 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | ---
Apr. 07, 2022 | Dec. 02, 2021 | Mar. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2023 | Dec. 31, 2022
Subsequent Events (Details) [Line Items] |  |  |  |  |  |
Description of dividend distribution |  |  |  | The dividend distribution relates to the Company’s earnings in the second half of 2021 |  |
Percentage of purchase agreement |  | 50.10% |  |  |  |
Total purchase price (in Dollars) |  | $ 11.0 |  |  |  |
Subsequent Event [Member] |  |  |  |  |  |
Subsequent Events (Details) [Line Items] |  |  |  |  |  |
Credit agreement (in Dollars) |  |  | $ 25.0 |  |  |
Term of bank loan |  |  | 5 years |  |  |
Maturity on bank loan |  |  | Mar. 31, 2027 |  |  |
Bank loan bears interest rate |  |  | 2.25% |  |  |
Forecast [Member] |  |  |  |  |  |
Subsequent Events (Details) [Line Items] |  |  |  |  |  |
Dividend distribution (in Dollars per share) | $ 0.216 |  |  |  |  |
Aggregate amount (in Dollars) | $ 10.6 |  |  |  |  |
Purchase reminder of shares percentage |  |  |  |  | 19.90% | 30.00%

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

X
- Definition Purchase reminder of shares percentage. + References No definition available. + Details
Name: | mgic_PurchaseReminderOfSharesPercentage
Namespace Prefix: | mgic_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Interest rate of advances made and reported by Federal Home Loan Bank (FHLBank). + References No definition available. + Details
Name: | us-gaap_FederalHomeLoanBankAdvancesInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount at purchase price of financing receivable purchased with credit deterioration. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 19 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919265-210447 + Details
Name: | us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income taxes from which a reporting entity is exempt or for which it will receive a reduction in income taxes as a result of the income tax holiday granted by the taxing jurisdiction. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 11.C) -URI https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817 + Details
Name: | us-gaap_IncomeTaxHolidayAggregateDollarAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Per share or unit amount of distribution to shareholders. Includes, but is not limited to, dividend and capital gain. Excludes distribution for tax return of capital. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 205 -Section 50 -Paragraph 7 -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=25866437&loc=d3e10246-115837 + Details
Name: | us-gaap_InvestmentCompanyDistributionToShareholdersPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period between issuance and maturity of long-term debt, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_LongTermDebtTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of allowance for credit loss on security borrowed. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 + Details
Name: | us-gaap_SecuritiesBorrowedAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of vesting of award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |