XML 20 R6.htm IDEA: XBRL DOCUMENT
v3.22.0.1

CONSOLIDATED STATEMENTS OF OPERATIONS - (Related Party Transactions) (Parenthetical) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Revenues: |  |  |  |
Total revenues |  | $ 882,431 | $ 672,142 | $ 847,118
Cost of products sold: (excluding depreciation and amortization) |  |  |  |
Total cost of products sold (excluding depreciation and amortization) |  | 533,098 | 356,926 | 492,795
Expenses: |  |  |  |
Operating expenses |  | 78,607 | 80,075 | 88,194
Selling, general and administrative |  | 32,924 | 32,886 | 32,622
Terminalling and storage |  |  |  |
Revenues: |  |  |  |
Total revenues | [1] | 75,223 | 80,864 | 87,397
Transportation |  |  |  |
Revenues: |  |  |  |
Total revenues | [1] | 144,314 | 132,492 | 159,622
Product sales |  |  |  |
Revenues: |  |  |  |
Total revenues | [1] | 651,095 | 447,127 | 588,665
Sulfur services |  |  |  |
Revenues: |  |  |  |
Total revenues | [1] | 133,243 | 96,348 | 99,906
Cost of products sold: (excluding depreciation and amortization) |  |  |  |
Total cost of products sold (excluding depreciation and amortization) | [1] | 89,134 | 58,515 | 65,893
Terminalling and storage |  |  |  |
Revenues: |  |  |  |
Total revenues | [1] | 103,809 | 103,300 | 122,257
Cost of products sold: (excluding depreciation and amortization) |  |  |  |
Total cost of products sold (excluding depreciation and amortization) | [1] | 81,258 | 82,516 | 101,526
Related Party |  |  |  |
Expenses: |  |  |  |
Operating expenses |  | 78,607 | 80,075 | 88,194
Related Party | Terminalling and storage |  |  |  |
Revenues: |  |  |  |
Total revenues |  | 62,677 | 63,823 | 71,733
Related Party | Transportation |  |  |  |
Revenues: |  |  |  |
Total revenues |  | 20,046 | 21,997 | 24,243
Expenses: |  |  |  |
Operating expenses |  | 55,382 | 55,786 | 61,376
Related Party | Product sales |  |  |  |
Revenues: |  |  |  |
Total revenues |  | 479 | 317 | 931
Related Party | Sulfur services |  |  |  |
Cost of products sold: (excluding depreciation and amortization) |  |  |  |
Total cost of products sold (excluding depreciation and amortization) |  | 9,980 | 10,519 | 10,765
Expenses: |  |  |  |
Operating expenses |  | 4,411 | 4,489 | 4,810
Related Party | Terminalling and storage |  |  |  |
Cost of products sold: (excluding depreciation and amortization) |  |  |  |
Total cost of products sold (excluding depreciation and amortization) |  | 27,866 | 18,429 | 23,859
Expenses: |  |  |  |
Operating expenses |  | $ 16,776 | $ 17,797 | $ 18,562
[1] | Related Party Transactions Included Above
| Year Ended December 31,
| 2021 |  | 2020 |  | 2019
Revenues: |  |  |  |  |
Terminalling and storage | $ | 62,677 |  |  | $ | 63,823 |  |  | $ | 71,733 |
Transportation | 20,046 |  |  | 21,997 |  |  | 24,243 |
Product sales | 479 |  |  | 317 |  |  | 931 |
Costs and expenses: |  |  |  |  |
Cost of products sold: (excluding depreciation and amortization) |  |  |  |  |
Sulfur services | 9,980 |  |  | 10,519 |  |  | 10,765 |
Terminalling and storage | 27,866 |  |  | 18,429 |  |  | 23,859 |
Expenses: |  |  |  |  |
Operating expenses | 78,607 |  |  | 80,075 |  |  | 88,194 |
Selling, general and administrative | 32,924 |  |  | 32,886 |  |  | 32,622 |

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
- Definition The portion associated with related parties of the aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. during the period. + References No definition available. + Details
Name: | mmlp_SellingGeneralAndAdministrativeExpenseRelatedParty
Namespace Prefix: | mmlp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 924 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -URI http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856 Reference 2: 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.2(a),(d)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_CostOfGoodsAndServicesSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

X
- Definition Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 41 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 40 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 924 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -URI http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856 + Details
Name: | us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax
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
- 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_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: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=mmlp_RelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |