XML 93 R79.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Related Party Transactions - Schedule of the impact of Related Party Transactions (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Operating expenses: |  |  |
Operating expenses | $ 78,607 | $ 80,075 | $ 88,194
Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 83,202 | 86,137 | 96,907
Cost of products sold: |  |  |
Costs of products sold | 37,846 | 28,948 | 34,624
Operating expenses: |  |  |
Operating expenses | 78,607 | 80,075 | 88,194
Selling, general and administrative: |  |  |
Selling, general and administrative | 32,924 | 32,886 | 32,622
Throughput and storage | Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 62,677 | 63,823 | 71,733
Transportation | Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 20,046 | 21,997 | 24,243
Operating expenses: |  |  |
Operating expenses | 55,382 | 55,786 | 61,376
Selling, general and administrative: |  |  |
Selling, general and administrative | 6,996 | 7,358 | 7,107
Natural gas liquids | Related Party |  |  |
Operating expenses: |  |  |
Operating expenses | 2,038 | 2,003 | 3,446
Selling, general and administrative: |  |  |
Selling, general and administrative | 4,590 | 2,397 | 2,804
Product sales | Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 479 | 317 | 931
Sulfur services | Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 109 | 60 | 54
Cost of products sold: |  |  |
Costs of products sold | 9,980 | 10,519 | 10,765
Operating expenses: |  |  |
Operating expenses | 4,411 | 4,489 | 4,810
Selling, general and administrative: |  |  |
Selling, general and administrative | 3,276 | 3,080 | 2,850
Terminalling and storage | Related Party |  |  |
Revenues: |  |  |
Revenue from related parties | 370 | 257 | 877
Cost of products sold: |  |  |
Costs of products sold | 27,866 | 18,429 | 23,859
Operating expenses: |  |  |
Operating expenses | 16,776 | 17,797 | 18,562
Selling, general and administrative: |  |  |
Selling, general and administrative | 3,370 | 3,403 | 3,083
Indirect overhead allocation, net of reimbursement | Related Party |  |  |
Selling, general and administrative: |  |  |
Selling, general and administrative | $ 14,692 | $ 16,648 | $ 16,778

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 http://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 http://asc.fasb.org/extlink&oid=124359900&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 http://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 http://asc.fasb.org/extlink&oid=124359900&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 http://asc.fasb.org/extlink&oid=124359900&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 http://asc.fasb.org/extlink&oid=124359900&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 http://asc.fasb.org/extlink&oid=124359900&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 http://asc.fasb.org/extlink&oid=124359900&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 http://asc.fasb.org/extlink&oid=123367319&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: |