XML 19 R6.htm IDEA: XBRL DOCUMENT
v3.22.4

CONSOLIDATED STATEMENTS OF OPERATIONS - (Related Party Transactions) (Parenthetical) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Revenues: |  |  |  |
Total revenues |  | $ 1,018,878 | $ 882,431 | $ 672,142
Cost of products sold: (excluding depreciation and amortization) |  |  |  |
Total cost of products sold (excluding depreciation and amortization) |  | 623,306 | 533,098 | 356,926
Expenses: |  |  |  |
Operating expenses |  | 93,630 | 78,607 | 80,075
Selling, general and administrative |  | 31,758 | 32,924 | 32,886
Terminalling and storage |  |  |  |
Revenues: |  |  |  |
Total revenues | [1] | 80,268 | 75,223 | 80,864
Transportation |  |  |  |
Revenues: |  |  |  |
Total revenues | [1] | 219,008 | 144,314 | 132,492
Product sales |  |  |  |
Revenues: |  |  |  |
Total revenues | [1] | 707,265 | 651,095 | 447,127
Sulfur services |  |  |  |
Revenues: |  |  |  |
Total revenues | [1] | 166,827 | 133,243 | 96,348
Cost of products sold: (excluding depreciation and amortization) |  |  |  |
Total cost of products sold (excluding depreciation and amortization) | [1] | 120,062 | 89,134 | 58,515
Terminalling and storage |  |  |  |
Revenues: |  |  |  |
Total revenues | [1] | 142,016 | 103,809 | 103,300
Cost of products sold: (excluding depreciation and amortization) |  |  |  |
Total cost of products sold (excluding depreciation and amortization) | [1] | 113,740 | 81,258 | 82,516
Related Party |  |  |  |
Expenses: |  |  |  |
Operating expenses |  | 93,630 | 78,607 | 80,075
Related Party | Terminalling and storage |  |  |  |
Revenues: |  |  |  |
Total revenues |  | 66,867 | 62,677 | 63,823
Related Party | Transportation |  |  |  |
Revenues: |  |  |  |
Total revenues |  | 28,393 | 20,046 | 21,997
Expenses: |  |  |  |
Operating expenses |  | 66,682 | 55,382 | 55,786
Related Party | Product sales |  |  |  |
Revenues: |  |  |  |
Total revenues |  | 554 | 479 | 317
Related Party | Sulfur services |  |  |  |
Cost of products sold: (excluding depreciation and amortization) |  |  |  |
Total cost of products sold (excluding depreciation and amortization) |  | 10,717 | 9,980 | 10,519
Expenses: |  |  |  |
Operating expenses |  | 6,165 | 4,411 | 4,489
Related Party | Terminalling and storage |  |  |  |
Cost of products sold: (excluding depreciation and amortization) |  |  |  |
Total cost of products sold (excluding depreciation and amortization) |  | 39,375 | 27,866 | 18,429
Expenses: |  |  |  |
Operating expenses |  | $ 18,632 | $ 16,776 | $ 17,797
[1] | Related Party Transactions Included Above
| Year Ended December 31,
| 2022 |  | 2021 |  | 2020
Revenues: |  |  |  |  |
Terminalling and storage | $ | 66,867 |  |  | $ | 62,677 |  |  | $ | 63,823 |
Transportation | 28,393 |  |  | 20,046 |  |  | 21,997 |
Product sales | 554 |  |  | 479 |  |  | 317 |
Costs and expenses: |  |  |  |  |
Cost of products sold: (excluding depreciation and amortization) |  |  |  |  |
Sulfur services | 10,717 |  |  | 9,980 |  |  | 10,519 |
Terminalling and storage | 39,375 |  |  | 27,866 |  |  | 18,429 |
Expenses: |  |  |  |  |
Operating expenses | 93,630 |  |  | 78,607 |  |  | 80,075 |
Selling, general and administrative | 31,758 |  |  | 32,924 |  |  | 32,886 |

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 https://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 https://asc.fasb.org/extlink&oid=126953954&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, excluding 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 30 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 40 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 41 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-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 (b) -URI https://asc.fasb.org/extlink&oid=126901519&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 32 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045 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 https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
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: |