XML 68 R58.htm IDEA: XBRL DOCUMENT
v3.25.2

Debt - Amortization Expense for Debt Issuance Costs (Details) - Convertible Debt - Convertible Senior Notes $ in Thousands | Jun. 30, 2025 USD ($)
--- | ---
Debt Issuance Costs |
Remaining 2025 | $ 585
2026 | 252
Total | $ 837

X
- Definition Amortization of Debt Issuance Costs + References No definition available. + Details
Name: | mgni_AmortizationOfDebtIssuanceCostsAbstract
Namespace Prefix: | mgni_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortization Of Debt Issuance Costs, Remainder Of Fiscal Year + References No definition available. + Details
Name: | mgni_AmortizationOfDebtIssuanceCostsRemainderOfFiscalYear
Namespace Prefix: | mgni_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortization Of Debt Issuance Costs, Year One + References No definition available. + Details
Name: | mgni_AmortizationOfDebtIssuanceCostsYearOne
Namespace Prefix: | mgni_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-1A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_ConvertibleDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mgni_ConvertibleSeniorNoteMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |