XML 46 R33.htm IDEA: XBRL DOCUMENT
v3.22.1

Marketable Securities (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Marketable Securities [Abstract] |
Summary of marketable debt securities |
|  | December 31, |
|  | 2021 |  |  | 2020 |
Fair value through profit or loss (1) |  | $ | 1,142 |  |  | $ | 1,238 |
Available-for-sale- Corporate bonds |  |  | - |  |  |  | - |
|  | $ | 1,142 |  |  | $ | 1,238 |
(1) | The Company recognized trading losses in the amount of $ 96 during the year ended December 31, 2021.

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

X
- Definition Tabular disclosure of marketable securities. This may consist of investments in certain debt and equity securities, short-term investments and other assets. + References No definition available. + Details
Name: | us-gaap_MarketableSecuritiesTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration