XML 84 R71.htm IDEA: XBRL DOCUMENT
v3.22.4

Related Party Transactions - Schedule of the impact of Related Party Transactions (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Operating expenses: |  |  |
Operating expenses | $ 93,630 | $ 78,607 | $ 80,075
Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 95,814 | 83,202 | 86,137
Cost of products sold: |  |  |
Costs of products sold | 50,092 | 37,846 | 28,948
Operating expenses: |  |  |
Operating expenses | 93,630 | 78,607 | 80,075
Selling, general and administrative: |  |  |
Selling, general and administrative | 31,758 | 32,924 | 32,886
Terminalling and storage | Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 66,867 | 62,677 | 63,823
Transportation | Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 28,393 | 20,046 | 21,997
Operating expenses: |  |  |
Operating expenses | 66,682 | 55,382 | 55,786
Selling, general and administrative: |  |  |
Selling, general and administrative | 7,553 | 6,996 | 7,358
Natural gas liquids | Related Party |  |  |
Operating expenses: |  |  |
Operating expenses | 2,151 | 2,038 | 2,003
Selling, general and administrative: |  |  |
Selling, general and administrative | 2,564 | 4,590 | 2,397
Product sales | Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 554 | 479 | 317
Sulfur services | Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 150 | 109 | 60
Cost of products sold: |  |  |
Costs of products sold | 10,717 | 9,980 | 10,519
Operating expenses: |  |  |
Operating expenses | 6,165 | 4,411 | 4,489
Selling, general and administrative: |  |  |
Selling, general and administrative | 3,917 | 3,276 | 3,080
Terminalling and storage | Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 404 | 370 | 257
Cost of products sold: |  |  |
Costs of products sold | 39,375 | 27,866 | 18,429
Operating expenses: |  |  |
Operating expenses | 18,632 | 16,776 | 17,797
Selling, general and administrative: |  |  |
Selling, general and administrative | 3,805 | 3,370 | 3,403
Indirect overhead allocation, net of reimbursement | Related Party |  |  |
Selling, general and administrative: |  |  |
Selling, general and administrative | $ 13,919 | $ 14,692 | $ 16,648

X
- Definition -- None. No documentation exists for this element. -- + References No definition available. + Details
Name: | mmlp_OperatingExpenseAbstract
Namespace Prefix: | mmlp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The portion associated with related parties of generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services during the period. + References No definition available. + Details
Name: | mmlp_OperatingExpensesRelatedParty
Namespace Prefix: | mmlp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Expenses recognized resulting from transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of selling, general and administrative expenses resulting from transactions, excluding transactions that are eliminated in consolidated or combined financial statements, with related party. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07.1(c)) -URI https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(B)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(C)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 8: 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.1(e)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_RevenueFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=mmlp_RelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=mmlp_TerminallingAndStorageThroughputAndStorageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=mmlp_TransportationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_NaturalGasStorageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_ProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=mmlp_SulfurServiceProductSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=mmlp_TerminallingAndStorageLubricantProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_MaterialReconcilingItemsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |