{
 "instance": {
  "amrk-20220630.htm": {
   "axisCustom": 0,
   "axisStandard": 48,
   "contextCount": 394,
   "dts": {
    "calculationLink": {
     "local": [
      "amrk-20220630_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "amrk-20220630_def.xml"
     ]
    },
    "inline": {
     "local": [
      "amrk-20220630.htm"
     ]
    },
    "labelLink": {
     "local": [
      "amrk-20220630_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "amrk-20220630_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "amrk-20220630.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd"
     ]
    }
   },
   "elementCount": 891,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 12,
    "http://www.amark.com/20220630": 3,
    "http://xbrl.sec.gov/dei/2022": 4,
    "total": 19
   },
   "keyCustom": 141,
   "keyStandard": 404,
   "memberCustom": 74,
   "memberStandard": 59,
   "nsprefix": "amrk",
   "nsuri": "http://www.amark.com/20220630",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityTaxIdentificationNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "100000 - Document - Document and Entity Information",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityTaxIdentificationNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100110 - Disclosure - Description of Business",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusiness",
     "shortName": "Description of Business",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101010 - Disclosure - Stockholders' Equity - Summary of Status of Stock Option Outstanding (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails",
     "shortName": "Stockholders' Equity - Summary of Status of Stock Option Outstanding (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTextBlock",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_ce1cbd86-a5d3-476e-a23a-b98ec65710e0",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101020 - Disclosure - Stockholders' Equity - Summary of Nonvested Stock Option Activity (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfNonvestedStockOptionActivityDetails",
     "shortName": "Stockholders' Equity - Summary of Nonvested Stock Option Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_ce1cbd86-a5d3-476e-a23a-b98ec65710e0",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_49b458c5-6ebb-4f23-b835-248dd28f98fe",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101030 - Disclosure - Stockholders' Equity - Summary of Restricted Stock Unit Activity (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails",
     "shortName": "Stockholders' Equity - Summary of Restricted Stock Unit Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_cc88b040-a9dc-4029-b309-f3721499e093",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_5cc418fd-3053-4299-a89c-0238bc341956",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "amrk:AdditionalIncreaseInNumberOfShares",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101040 - Disclosure - Stockholders' Equity - Summary of Restricted Stock Unit Activity (Parenthetical) (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityParentheticalDetails",
     "shortName": "Stockholders' Equity - Summary of Restricted Stock Unit Activity (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesAndLoansReceivableNetCurrent",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101050 - Disclosure - Customer and Supplier Concentrations - Schedule of Concentration of Risk, by Risk Factor of Accounts Receivable (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails",
     "shortName": "Customer and Supplier Concentrations - Schedule of Concentration of Risk, by Risk Factor of Accounts Receivable (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
       "div",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_262d7805-4b42-490b-917b-9273ee5b21b9",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AccountsReceivableNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unitRef": "U_Reportable_segments",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101060 - Disclosure - Segments and Geographic Information - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationAdditionalInformationDetails",
     "shortName": "Segments and Geographic Information - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101070 - Disclosure - Segments and Geographic Information - Schedule of Segment Reporting Information, by Segment (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
     "shortName": "Segments and Geographic Information - Schedule of Segment Reporting Information, by Segment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "5",
      "lang": null,
      "name": "amrk:GrossProfitPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101080 - Disclosure - Segments and Geographic Information - Schedule of Segment Reporting Information, by Segment (Parenthetical) (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails",
     "shortName": "Segments and Geographic Information - Schedule of Segment Reporting Information, by Segment (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_c9f16a14-ff64-4791-954f-693d95e32cb2",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:GoodwillImpairedAccumulatedImpairmentLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_f668ac69-ba0f-409f-af97-93a5a88fb093",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101090 - Disclosure - Subsequent Events (Additional Information) (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
     "shortName": "Subsequent Events (Additional Information) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_e68eab1a-faa2-415f-8af4-ec1e7876e04d",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100120 - Disclosure - Summary of Significant Accounting Policies",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100130 - Disclosure - Assets and Liabilities, at Fair Value",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValue",
     "shortName": "Assets and Liabilities, at Fair Value",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Receivables",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivables",
     "shortName": "Receivables",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Secured Loans Receivable",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivable",
     "shortName": "Secured Loans Receivable",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Inventories",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventories",
     "shortName": "Inventories",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Leases",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureLeases",
     "shortName": "Leases",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Property, Plant, and Equipment",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipment",
     "shortName": "Property, Plant, and Equipment",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Goodwill and Intangible Assets",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssets",
     "shortName": "Goodwill and Intangible Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:EquityMethodandCostMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Long-Term Investments",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestments",
     "shortName": "Long-Term Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:EquityMethodandCostMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - Consolidated Balance Sheets",
     "role": "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
     "shortName": "Consolidated Balance Sheets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AssetsCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:AccountsPayableAndOtherCurrentLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Accounts Payable and Other Current Liabilities",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilities",
     "shortName": "Accounts Payable and Other Current Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:AccountsPayableAndOtherCurrentLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Derivative Instruments and Hedging Transactions",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactions",
     "shortName": "Derivative Instruments and Hedging Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Income Taxes",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Related Party Transactions",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactions",
     "shortName": "Related Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100250 - Disclosure - Financing Agreements",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreements",
     "shortName": "Financing Agreements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100260 - Disclosure - Commitments and Contingencies",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Stockholders' Equity",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquity",
     "shortName": "Stockholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Customer and Supplier Concentrations",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrations",
     "shortName": "Customer and Supplier Concentrations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Segments and Geographic Information",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformation",
     "shortName": "Segments and Geographic Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - Subsequent Events",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - Consolidated Balance Sheets (Parenthetical)",
     "role": "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical",
     "shortName": "Consolidated Balance Sheets (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConsolidationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Summary of Significant Accounting Policies (Policies)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies",
     "shortName": "Summary of Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConsolidationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "amrk:NoncontrollingInterestPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RedeemableNoncontrollingInterestTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Summary of Significant Accounting Policies (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables",
     "shortName": "Summary of Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "amrk:NoncontrollingInterestPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RedeemableNoncontrollingInterestTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Assets and Liabilities, at Fair Value (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueTables",
     "shortName": "Assets and Liabilities, at Fair Value (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100340 - Disclosure - Receivables (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesTables",
     "shortName": "Receivables (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": null
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Secured Loans Receivable (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableTables",
     "shortName": "Secured Loans Receivable (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "lang": "en-US",
      "name": "amrk:ScheduleOfClassOfFinancingReceivableTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Inventories (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesTables",
     "shortName": "Inventories (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Leases (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesTables",
     "shortName": "Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Property, Plant, and Equipment (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentTables",
     "shortName": "Property, Plant, and Equipment (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Goodwill and Intangible Assets (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsTables",
     "shortName": "Goodwill and Intangible Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "amrk:EquityMethodandCostMethodInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Long-Term Investments (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsTables",
     "shortName": "Long-Term Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "amrk:EquityMethodandCostMethodInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - Consolidated Balance Sheets (VIE)",
     "role": "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie",
     "shortName": "Consolidated Balance Sheets (VIE)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_76a4d345-4619-4024-a6a5-f0ae83e7e847",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "amrk:AccountsPayableAndOtherCurrentLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:ScheduleOfAccountsPayableAndOtherCurrentLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Accounts Payable and Other Current Liabilities (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesTables",
     "shortName": "Accounts Payable and Other Current Liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "amrk:AccountsPayableAndOtherCurrentLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:ScheduleOfAccountsPayableAndOtherCurrentLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:SummaryOfOffsettingAssetsAndLiabilityDerivativeInstrumentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Derivative Instruments and Hedging Transactions (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsTables",
     "shortName": "Derivative Instruments and Hedging Transactions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:SummaryOfOffsettingAssetsAndLiabilityDerivativeInstrumentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Income Taxes (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesTables",
     "shortName": "Income Taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Related Party Transactions (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsTables",
     "shortName": "Related Party Transactions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Stockholders' Equity (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityTables",
     "shortName": "Stockholders' Equity (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Customer and Supplier Concentrations (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsTables",
     "shortName": "Customer and Supplier Concentrations (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100470 - Disclosure - Segments and Geographic Information (Tables)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationTables",
     "shortName": "Segments and Geographic Information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unitRef": "U_Reportable_segments",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100480 - Disclosure - Description of Business - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails",
     "shortName": "Description of Business - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "INF",
      "lang": null,
      "name": "amrk:NumberOfCoinsAndBarProducts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Coin",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "amrk:AssetsHeldUnderFinancingArrangementWithRepurchaseOptionPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:FinancingArrangementsNoticePeriodToTerminateContract",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100490 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails",
     "shortName": "Summary of Significant Accounting Policies - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "amrk:AssetsHeldUnderFinancingArrangementWithRepurchaseOptionPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:FinancingArrangementsNoticePeriodToTerminateContract",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_ce1cbd86-a5d3-476e-a23a-b98ec65710e0",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:MinorityInterest",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100500 - Disclosure - Summary of Significant Accounting Policies - Reconciliation of Changes in Noncontrolling Interests (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsDetails",
     "shortName": "Summary of Significant Accounting Policies - Reconciliation of Changes in Noncontrolling Interests (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "amrk:NoncontrollingInterestPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_f4f29fec-1048-4a8a-8a90-55309a0b76c4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:MinorityInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_76a4d345-4619-4024-a6a5-f0ae83e7e847",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableGross",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100060 - Statement - Consolidated Balance Sheets (VIE) (Parenthetical)",
     "role": "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical",
     "shortName": "Consolidated Balance Sheets (VIE) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_2875d6d4-2e7b-4382-b871-0cdedd6f0881",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SubsidiaryOfLimitedLiabilityCompanyOrLimitedPartnershipOwnershipInterest",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100510 - Disclosure - Summary of Significant Accounting Policies - Reconciliation of Changes in Noncontrolling Interests (Parenthetical) (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
     "shortName": "Summary of Significant Accounting Policies - Reconciliation of Changes in Noncontrolling Interests (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "amrk:NoncontrollingInterestPolicyPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6d555bfe-8908-47a1-8df8-90e67caaa0fb",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionPercentageOfVotingInterestsAcquired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:WeightedAverageNumberOfSharesOutstandingBasic",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100520 - Disclosure - Summary of Significant Accounting Policies - Reconciliation of Shares Used in Calculating Basic and Diluted Earnings per Common Shares (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfSharesUsedInCalculatingBasicAndDilutedEarningsPerCommonSharesDetails",
     "shortName": "Summary of Significant Accounting Policies - Reconciliation of Shares Used in Calculating Basic and Diluted Earnings per Common Shares (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerSharePolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_677eebac-8911-45f9-8d90-4951c9f2a94f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesPayableFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100530 - Disclosure - Assets and Liabilities, at Fair Value - Schedule of Carrying Amounts and Estimated Fair Value of Fixed-Rate Notes Payable (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfCarryingAmountsAndEstimatedFairValueOfFixedRateNotesPayableDetails",
     "shortName": "Assets and Liabilities, at Fair Value - Schedule of Carrying Amounts and Estimated Fair Value of Fixed-Rate Notes Payable (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_677eebac-8911-45f9-8d90-4951c9f2a94f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesPayableFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssetsCurrent",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100540 - Disclosure - Assets and Liabilities, at Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
     "shortName": "Assets and Liabilities, at Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6e961127-2905-4907-9cff-291867cdb208",
      "decimals": "-3",
      "lang": null,
      "name": "amrk:Inventorymarkedmarketfairvaluedisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "amrk:InventoryCommemorativeCoinStatedAtLowerCostOrMarket",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100550 - Disclosure - Assets and Liabilities, at Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Parenthetical) (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisParentheticalDetails",
     "shortName": "Assets and Liabilities, at Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "amrk:CarryingAmountsDigitalAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100560 - Disclosure - Assets and Liabilities, at Fair Value - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails",
     "shortName": "Assets and Liabilities, at Fair Value - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "amrk:CarryingAmountsDigitalAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableNetCurrent",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100570 - Disclosure - Receivables - Schedule of Receivables (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesScheduleOfReceivablesDetails",
     "shortName": "Receivables - Schedule of Receivables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_8d9efa50-0cbb-41cd-ab3a-c83d56bb6d94",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AccountsReceivableNetCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesAndLoansReceivableNetCurrent",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100580 - Disclosure - Secured Loans Receivable - Summary of Carrying-value of Secured Loans (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableSummaryOfCarryingValueOfSecuredLoansDetails",
     "shortName": "Secured Loans Receivable - Summary of Carrying-value of Secured Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_f8961493-097c-4370-aa41-1a74f60169c8",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NotesAndLoansReceivableNetCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "amrk:LoansReceivableAverageEffectiveRateOfInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100590 - Disclosure - Secured Loans Receivable - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
     "shortName": "Secured Loans Receivable - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "amrk:LoansReceivableAverageEffectiveRateOfInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "amrk:ScheduleOfClassOfFinancingReceivableTableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100600 - Disclosure - Secured Loans Receivable - Schedule of Classes for Financing Receivables (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfClassesForFinancingReceivablesDetails",
     "shortName": "Secured Loans Receivable - Schedule of Classes for Financing Receivables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "amrk:ScheduleOfClassOfFinancingReceivableTableTextBlock",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - Consolidated Statements of Income",
     "role": "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome",
     "shortName": "Consolidated Statements of Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesAndLoansReceivableNetCurrent",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100610 - Disclosure - Secured Loans Receivable - Schedule of Financing Receivable Credit Quality Indicators (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails",
     "shortName": "Secured Loans Receivable - Schedule of Financing Receivable Credit Quality Indicators (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_b7a9a9fa-2943-437d-80a6-fefc90bab091",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NotesAndLoansReceivableNetCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InventoryNet",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100620 - Disclosure - Inventories - Summary of Inventory (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails",
     "shortName": "Inventories - Summary of Inventory (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_09245642-320c-439c-983c-f54502b9f61b",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InventoryNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InventoryNet",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100630 - Disclosure - Inventories - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails",
     "shortName": "Inventories - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InventoryDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-5",
      "lang": null,
      "name": "amrk:InventorySubjecttoRepurchaseAgreement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100640 - Disclosure - Leases - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
     "shortName": "Leases - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:OperatingLeasePayments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100650 - Disclosure - Leases - Components of Operating Lease Expense (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails",
     "shortName": "Leases - Components of Operating Lease Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100660 - Disclosure - Leases - Schedule of Future Undiscounted Cash Flows for Each of Next Five Years and Thereafter and Reconciliation to Lease Liabilities (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails",
     "shortName": "Leases - Schedule of Future Undiscounted Cash Flows for Each of Next Five Years and Thereafter and Reconciliation to Lease Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100670 - Disclosure - Property, Plant, and Equipment - Schedule of Property, Plant and Equipment (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails",
     "shortName": "Property, Plant, and Equipment - Schedule of Property, Plant and Equipment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepreciationAndAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100680 - Disclosure - Property, Plant, and Equipment - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentAdditionalInformationDetails",
     "shortName": "Property, Plant, and Equipment - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepreciationAndAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100690 - Disclosure - Goodwill and Intangible Assets - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
     "shortName": "Goodwill and Intangible Assets - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:AmortizationOfIntangibleAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IntangibleAssetsGrossExcludingGoodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100700 - Disclosure - Goodwill and Intangible Assets - Schedule of Carrying Value of Goodwill and Other Purchased Intangibles (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails",
     "shortName": "Goodwill and Intangible Assets - Schedule of Carrying Value of Goodwill and Other Purchased Intangibles (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IntangibleAssetsGrossExcludingGoodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_f4f29fec-1048-4a8a-8a90-55309a0b76c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100080 - Statement - Consolidated Statements of Stockholders' Equity",
     "role": "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1",
     "shortName": "Consolidated Statements of Stockholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_f4f29fec-1048-4a8a-8a90-55309a0b76c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100710 - Disclosure - Goodwill and Intangible Assets - Schedule of Estimated Annual Amortization Expense Related to Definite-Lived Intangible Assets (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails",
     "shortName": "Goodwill and Intangible Assets - Schedule of Estimated Annual Amortization Expense Related to Definite-Lived Intangible Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "amrk:EquityMethodandCostMethodInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "amrk:NumberOfInvestments",
      "reportCount": 1,
      "unitRef": "U_Investment",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100720 - Disclosure - Long-Term Investments - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails",
     "shortName": "Long-Term Investments - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100730 - Disclosure - Long-Term Investments - Schedule of Carrying Value and Ownership Percentage of Investment (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails",
     "shortName": "Long-Term Investments - Schedule of Carrying Value and Ownership Percentage of Investment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:EquityMethodInvestmentsTextBlock",
       "div",
       "amrk:EquityMethodandCostMethodInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_5db932f2-db9e-4763-a1a6-4aea5c522212",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:EquityMethodInvestmentsTextBlock",
       "div",
       "amrk:EquityMethodandCostMethodInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_254b7eb2-54ed-49f6-8fd7-2d4484065266",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SaleOfStockPercentageOfOwnershipBeforeTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100740 - Disclosure - Long-Term Investments - Schedule of Carrying Value and Ownership Percentage of Investment (Parenthetical) (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails",
     "shortName": "Long-Term Investments - Schedule of Carrying Value and Ownership Percentage of Investment (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:EquityMethodInvestmentsTextBlock",
       "div",
       "amrk:EquityMethodandCostMethodInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_254b7eb2-54ed-49f6-8fd7-2d4484065266",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SaleOfStockPercentageOfOwnershipBeforeTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "amrk:ScheduleOfAccountsPayableAndOtherCurrentLiabilitiesTableTextBlock",
       "div",
       "amrk:AccountsPayableAndOtherCurrentLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "amrk:TradePayableToCustomersAndConsignorPayablesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100750 - Disclosure - Accounts Payable and Other Current Liabilities - Schedule of Accounts Payable and Other Current Liabilities (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails",
     "shortName": "Accounts Payable and Other Current Liabilities - Schedule of Accounts Payable and Other Current Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "amrk:ScheduleOfAccountsPayableAndOtherCurrentLiabilitiesTableTextBlock",
       "div",
       "amrk:AccountsPayableAndOtherCurrentLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "amrk:TradePayableToCustomersAndConsignorPayablesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:DerivativeOpenPositionExpectedSettlementPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100760 - Disclosure - Derivative Instruments and Hedging Transactions - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
     "shortName": "Derivative Instruments and Hedging Transactions - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "amrk:DerivativeOpenPositionExpectedSettlementPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100770 - Disclosure - Derivative Instruments and Hedging Transactions - Summary of Aggregate Gross and Net Derivative Receivables and Payables Balances (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails",
     "shortName": "Derivative Instruments and Hedging Transactions - Summary of Aggregate Gross and Net Derivative Receivables and Payables Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnDerivativeInstrumentsNetPretax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100780 - Disclosure - Derivative Instruments and Hedging Transactions - Summary of Net Gains (Losses) on Derivative Instruments (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails",
     "shortName": "Derivative Instruments and Hedging Transactions - Summary of Net Gains (Losses) on Derivative Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:GainLossOnDerivativeInstrumentsNetPretax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "amrk:RestrictedAndNonRestrictedInventoryNet",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100790 - Disclosure - Derivative Instruments and Hedging Transactions - Summary of Hedging Activities Shows Precious Metal Commodity Inventory Position Net of Open Sale and Purchase Commitments (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails",
     "shortName": "Derivative Instruments and Hedging Transactions - Summary of Hedging Activities Shows Precious Metal Commodity Inventory Position Net of Open Sale and Purchase Commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "lang": null,
      "name": "amrk:InventoryandPreciousMetalHeldUnderFinancingArrangements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "amrk:OpenInventoryPurchaseCommitments",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100800 - Disclosure - Derivative Instruments and Hedging Transactions - Schedule of Outstanding Commitments and Open Forward and Future Contracts (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails",
     "shortName": "Derivative Instruments and Hedging Transactions - Schedule of Outstanding Commitments and Open Forward and Future Contracts (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100090 - Statement - Consolidated Statements of Stockholders' Equity (Parenthetical)",
     "role": "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquityParenthetical",
     "shortName": "Consolidated Statements of Stockholders' Equity (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockholdersEquityNoteStockSplitConversionRatio1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_668f8851-5636-4f7f-ac32-25c260583f2b",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100810 - Disclosure - Derivative Instruments and Hedging Transactions - Schedule of Market Values of Denominated in Foreign Currencies Outstanding (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingDetails",
     "shortName": "Derivative Instruments and Hedging Transactions - Schedule of Market Values of Denominated in Foreign Currencies Outstanding (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_668f8851-5636-4f7f-ac32-25c260583f2b",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100820 - Disclosure - Income Taxes - Net Income from Operations before Provision for Income Taxes (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesNetIncomeFromOperationsBeforeProvisionForIncomeTaxesDetails",
     "shortName": "Income Taxes - Net Income from Operations before Provision for Income Taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100830 - Disclosure - Income Taxes - Provision for Income Tax Expense by Jurisdiction and Effective Tax Rate (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails",
     "shortName": "Income Taxes - Provision for Income Tax Expense by Jurisdiction and Effective Tax Rate (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100840 - Disclosure - Income Taxes - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
     "shortName": "Income Taxes - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-5",
      "lang": null,
      "name": "amrk:OperatingLossCarryforwardTaxEffected",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100850 - Disclosure - Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails",
     "shortName": "Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100860 - Disclosure - Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails",
     "shortName": "Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_ce1cbd86-a5d3-476e-a23a-b98ec65710e0",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefits",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100870 - Disclosure - Income Taxes - Schedule of Unrecognized Tax Benefits (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails",
     "shortName": "Income Taxes - Schedule of Unrecognized Tax Benefits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "amrk:EquityMethodandCostMethodInvestmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "amrk:NumberOfInvestments",
      "reportCount": 1,
      "unitRef": "U_Investment",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100880 - Disclosure - Related Party Transactions - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
     "shortName": "Related Party Transactions - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_bdddf968-018d-4c6f-b7c1-364a35f68a58",
      "decimals": "INF",
      "lang": null,
      "name": "amrk:LeaseandFinanceReceivableLineofCreditMaximumAvailable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DueFromRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100890 - Disclosure - Related Party Transactions - Schedule of Related Party Receivable and Payables Balances (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfRelatedPartyReceivableAndPayablesBalancesDetails",
     "shortName": "Related Party Transactions - Schedule of Related Party Receivable and Payables Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DueFromRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "amrk:ScheduleOfSalesAndPurchasesOfRelatedPartiesTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100900 - Disclosure - Related Party Transactions - Schedule of Sales and Purchases of Related Parties (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfSalesAndPurchasesOfRelatedPartiesDetails",
     "shortName": "Related Party Transactions - Schedule of Sales and Purchases of Related Parties (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "amrk:ScheduleOfSalesAndPurchasesOfRelatedPartiesTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100100 - Statement - Consolidated Statements of Cash Flows",
     "role": "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
     "shortName": "Consolidated Statements of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:IncreaseDecreaseInDeferredIncomeTaxes",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestIncomeRelatedParty",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100910 - Disclosure - Related Party Transactions - Schedule of Interest Income (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails",
     "shortName": "Related Party Transactions - Schedule of Interest Income (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "amrk:ScheduleOfInterestIncomeFromRelatedPartiesTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_38af5b21-93a0-444c-8191-7177411f9fc2",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestIncomeRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_ee9ef3c0-725a-4827-a649-b2aeeb6c1874",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtInstrumentTerm",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100920 - Disclosure - Financing Agreements - Lines of Credit - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
     "shortName": "Financing Agreements - Lines of Credit - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_ee9ef3c0-725a-4827-a649-b2aeeb6c1874",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtInstrumentTerm",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_76a4d345-4619-4024-a6a5-f0ae83e7e847",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableGross",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100930 - Disclosure - Financing Agreements - Notes Payable - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
     "shortName": "Financing Agreements - Notes Payable - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_e054118a-71e8-4b36-aa80-37f9bb2314b5",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DebtInstrumentUnamortizedDiscount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "amrk:LiabilityOnBorrowedMetals",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100940 - Disclosure - Financing Agreements - Liability on Borrowed Metals - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails",
     "shortName": "Financing Agreements - Liability on Borrowed Metals - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_674f2b8c-d5a5-4611-9513-a35426c2d0cd",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_6f367910-e5f5-4235-b719-ff32a257d431",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "amrk:ObligationUnderProductFinancingAgreement",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100950 - Disclosure - Financing Agreements - Product Financing Arrangements - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsProductFinancingArrangementsAdditionalInformationDetails",
     "shortName": "Financing Agreements - Product Financing Arrangements - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_22a3741b-aab4-4a4b-a067-6512991f8d06",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100960 - Disclosure - Commitments and Contingencies - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails",
     "shortName": "Commitments and Contingencies - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_1495f155-d99b-4daf-803f-98f35a98ea87",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOrSaleOfEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100970 - Disclosure - Stockholders' Equity - Additional Information (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
     "shortName": "Stockholders' Equity - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_1495f155-d99b-4daf-803f-98f35a98ea87",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOrSaleOfEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_537f29f4-5574-4554-9505-685b1016a15a",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100980 - Disclosure - Stockholders' Equity - Schedule of Estimated Grant Date Fair Value of Stock Options (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsDetails",
     "shortName": "Stockholders' Equity - Schedule of Estimated Grant Date Fair Value of Stock Options (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_537f29f4-5574-4554-9505-685b1016a15a",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_9c7fa763-2d06-489c-bdb6-53e9c484f1fd",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100990 - Disclosure - Stockholders' Equity - - Schedule of Estimated Grant Date Fair Value of Stock Options (Parenthetical) (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsParentheticalDetails",
     "shortName": "Stockholders' Equity - - Schedule of Estimated Grant Date Fair Value of Stock Options (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_9c7fa763-2d06-489c-bdb6-53e9c484f1fd",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_ce1cbd86-a5d3-476e-a23a-b98ec65710e0",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101000 - Disclosure - Stockholders' Equity - Summary of Stock Option Activity (Details)",
     "role": "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails",
     "shortName": "Stockholders' Equity - Summary of Stock Option Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:ShareholdersEquityAndShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "amrk-20220630.htm",
      "contextRef": "C_79f6e286-3b21-4789-b4d4-712715d00e14",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 141,
   "tag": {
    "amrk_A2014StockAwardandIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2014 Stock Award and Incentive Plan [Member]",
        "label": "A2014 Stock Awardand Incentive Plan [Member]",
        "terseLabel": "2014 Stock Award and Incentive Plan"
       }
      }
     },
     "localname": "A2014StockAwardandIncentivePlanMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_AMARKPRECIOUSMETALSINCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A-MARK PRECIOUS METALS, INC [Member]",
        "label": "A M A R K P R E C I O U S M E T A L S I N C [Member]",
        "terseLabel": "A Mark Precious Metals, Inc"
       }
      }
     },
     "localname": "AMARKPRECIOUSMETALSINCMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_AMCapitalFundingLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AM Capital Funding, LLC. [Member]",
        "label": "A M Capital Funding L L C [Member]",
        "terseLabel": "AM Capital Funding, LLC."
       }
      }
     },
     "localname": "AMCapitalFundingLLCMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_AccountingStandardsUpdateDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting standards update description.",
        "label": "Accounting Standards Update Description",
        "terseLabel": "Accounting standards update description"
       }
      }
     },
     "localname": "AccountingStandardsUpdateDescription",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_AccountsPayableAdvanceFromCustomersCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "amrk_DeferredRevenueAndOtherAdvancesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounts payable advance from customers current.",
        "label": "Accounts Payable Advance From Customers Current",
        "terseLabel": "Advances from customers"
       }
      }
     },
     "localname": "AccountsPayableAdvanceFromCustomersCurrent",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_AccountsPayableAndOtherCurrentLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounts payable and other current liabilities.",
        "label": "Accounts Payable And Other Current Liabilities",
        "terseLabel": "Accounts payable and other payables",
        "totalLabel": "Trade payables and other payables"
       }
      }
     },
     "localname": "AccountsPayableAndOtherCurrentLiabilities",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_AccountsPayableAndOtherCurrentLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounts payable and other current liabilities.",
        "label": "Accounts Payable And Other Current Liabilities [Abstract]"
       }
      }
     },
     "localname": "AccountsPayableAndOtherCurrentLiabilitiesAbstract",
     "nsuri": "http://www.amark.com/20220630",
     "xbrltype": "stringItemType"
    },
    "amrk_AccountsPayableAndOtherCurrentLiabilitiesDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounts payable and other current liabilities.",
        "label": "Accounts Payable And Other Current Liabilities Disclosure [Text Block]",
        "terseLabel": "Accounts Payable and Other Current Liabilities"
       }
      }
     },
     "localname": "AccountsPayableAndOtherCurrentLiabilitiesDisclosureTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_AccountsPayableAndOtherPayables": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounts payable and other payables.",
        "label": "Accounts Payable And Other Payables",
        "terseLabel": "Accounts payable and other payables"
       }
      }
     },
     "localname": "AccountsPayableAndOtherPayables",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_AcquisitionOfRemainingNoncontrollingEquityInterestInJointVenture": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquisition of remaining noncontrolling equity interest in joint venture.",
        "label": "Acquisition Of Remaining Noncontrolling Equity Interest In Joint Venture",
        "negatedLabel": "Acquisition of remaining noncontrolling equity interest in joint venture"
       }
      }
     },
     "localname": "AcquisitionOfRemainingNoncontrollingEquityInterestInJointVenture",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_AdditionalIncreaseInNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional increase in number of shares.",
        "label": "Additional Increase in Number of Shares",
        "terseLabel": "Additional increase in number of shares"
       }
      }
     },
     "localname": "AdditionalIncreaseInNumberOfShares",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "amrk_AdjustmentsToAdditionalPaidInCapitalAcquisitionOfNoncontrollingInterestNetOfDeferredTaxes": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments to additional paid in capital acquisition of noncontrolling interest net of deferred taxes.",
        "label": "Adjustments To Additional Paid In Capital Acquisition Of Noncontrolling Interest Net Of Deferred Taxes",
        "terseLabel": "Acquisition of noncontrolling interest, net of deferred taxes"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalAcquisitionOfNoncontrollingInterestNetOfDeferredTaxes",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_AdoptionOfQuarterlyCashDividendPolicyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adoption of quarterly cash dividend policy.",
        "label": "Adoption of Quarterly Cash Dividend Policy [Member]",
        "terseLabel": "Adoption of Quarterly Cash Dividend Policy"
       }
      }
     },
     "localname": "AdoptionOfQuarterlyCashDividendPolicyMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_AdvancesPaymentsOnIndustrialMetals": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 7.0,
       "parentTag": "amrk_CommitmentAtMarket",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Advances (Payments) On Industrial Metals",
        "label": "Advances Payments On Industrial Metals",
        "terseLabel": "Advances on industrial metals"
       }
      }
     },
     "localname": "AdvancesPaymentsOnIndustrialMetals",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_AmstassociatesllcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "AMSTAssociates LLC Member",
        "label": "AMSTAssociatesLLC[Member]",
        "terseLabel": "AM&amp;ST Associates, LLC"
       }
      }
     },
     "localname": "AmstassociatesllcMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_AnnualCommonStockDividendsPerShareDeclared": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annual common stock dividends per share declared.",
        "label": "Annual Common Stock Dividends Per Share Declared",
        "terseLabel": "Annual common stock dividends per share declared"
       }
      }
     },
     "localname": "AnnualCommonStockDividendsPerShareDeclared",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "amrk_AssetHeldUnderFinancingArrangementSubjecttoRepurchaseOptionFairValueDisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset held under financing arrangement, subject to repurchase option, fair value disclosure.",
        "label": "Asset Held Under Financing Arrangement Subjectto Repurchase Option Fair Value Disclosure",
        "terseLabel": "Precious metals held under financing arrangements"
       }
      }
     },
     "localname": "AssetHeldUnderFinancingArrangementSubjecttoRepurchaseOptionFairValueDisclosure",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_AssetUnderFinancingAgreementWithRepurchaseOption": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "amrk_InventoryandPreciousMetalHeldUnderFinancingArrangements",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset Under Financing Agreement, With Repurchase Option",
        "label": "Asset Under Financing Agreement With Repurchase Option",
        "terseLabel": "Precious metals held under financing arrangements",
        "verboseLabel": "Total precious metals held under financing arrangements"
       }
      }
     },
     "localname": "AssetUnderFinancingAgreementWithRepurchaseOption",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_AssetsHeldUnderFinancingArrangementWithRepurchaseOptionPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets Held Under Financing Arrangement, With Repurchase Option, Policy [Policy Text Block]",
        "label": "Assets Held Under Financing Arrangement With Repurchase Option Policy Policy [Text Block]",
        "terseLabel": "Precious Metals held under Financing Arrangements"
       }
      }
     },
     "localname": "AssetsHeldUnderFinancingArrangementWithRepurchaseOptionPolicyPolicyTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_AssumedAwardsConvertedStockOptions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assumed awards converted stock options.",
        "label": "Assumed Awards Converted Stock Options",
        "terseLabel": "Assumed awards converted stock options"
       }
      }
     },
     "localname": "AssumedAwardsConvertedStockOptions",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "amrk_BorrowedFromSuppliersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowed From Suppliers [Member]",
        "label": "Borrowed From Suppliers [Member]",
        "terseLabel": "Borrowed Precious Metals"
       }
      }
     },
     "localname": "BorrowedFromSuppliersMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_BorrowedMetals": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowed Metals",
        "label": "Borrowed Metals",
        "terseLabel": "Borrowed precious metals from suppliers"
       }
      }
     },
     "localname": "BorrowedMetals",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_BullionAndNumismaticAndSemiNumismaticAndGradedSportsMemorabiliaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bullion and numismatic and semi-numismatic and graded sports memorabilia.",
        "label": "Bullion And Numismatic And Semi Numismatic And Graded Sports Memorabilia [Member]",
        "terseLabel": "Bullion and Numismatic and Semi-numismatic and Graded Sports Memorabilia"
       }
      }
     },
     "localname": "BullionAndNumismaticAndSemiNumismaticAndGradedSportsMemorabiliaMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_BullionFinancingReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bullion, Financing Receivable [Member]",
        "label": "Bullion Financing Receivable [Member]",
        "terseLabel": "Bullion"
       }
      }
     },
     "localname": "BullionFinancingReceivableMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfClassesForFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_BusinessAcquisitionDateOfAcquisition": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business acquisition, date of acquisition.",
        "label": "Business Acquisition Date Of Acquisition",
        "terseLabel": "Acquisition date"
       }
      }
     },
     "localname": "BusinessAcquisitionDateOfAcquisition",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "amrk_BusinessAcquisitionPercentageOfAdditionalVotingInterestsAcquired": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business acquisition percentage of additional voting interests acquired.",
        "label": "Business Acquisition Percentage Of Additional Voting Interests Acquired",
        "terseLabel": "Business acquisition, option to purchase additional percentage of the outstanding equity"
       }
      }
     },
     "localname": "BusinessAcquisitionPercentageOfAdditionalVotingInterestsAcquired",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_BusinessCombinationOptionExercisablePeriodDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination option exercisable period description.",
        "label": "Business combination option exercisable period description"
       }
      }
     },
     "localname": "BusinessCombinationOptionExercisablePeriodDescription",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_CarryingAmountsDigitalAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amounts digital assets.",
        "label": "Carrying Amounts Digital Assets",
        "terseLabel": "Carrying amounts digital assets"
       }
      }
     },
     "localname": "CarryingAmountsDigitalAssets",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_CollectibleCardPartnersLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collectible card partners, LLC.",
        "label": "Collectible Card Partners L L C [Member]",
        "terseLabel": "Collectible Card Partners, LLC"
       }
      }
     },
     "localname": "CollectibleCardPartnersLLCMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_CommemorativeCoinsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commemorative Coins [Member]",
        "label": "Commemorative Coins [Member]",
        "terseLabel": "Commemorative Coins, Held at Lower of Cost or Net Realizable Value"
       }
      }
     },
     "localname": "CommemorativeCoinsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_CommitmentAtMarket": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "amrk_InventorySubjectToPriceRisk",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitment, At Market",
        "label": "Commitment At Market",
        "negatedTotalLabel": "Commitments at market"
       }
      }
     },
     "localname": "CommitmentAtMarket",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_CommitmentsAtMarketAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments at Market [Abstract]",
        "label": "Commitments At Market [Abstract]",
        "terseLabel": "Commitments at market:"
       }
      }
     },
     "localname": "CommitmentsAtMarketAbstract",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_CompanyAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Company A [Member]",
        "label": "Company A [Member]",
        "terseLabel": "Company A"
       }
      }
     },
     "localname": "CompanyAMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_CompanyBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Company B.",
        "label": "Company B [Member]",
        "terseLabel": "Company B"
       }
      }
     },
     "localname": "CompanyBMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_CompanyEMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Company E.",
        "label": "Company E [Member]",
        "terseLabel": "Company E"
       }
      }
     },
     "localname": "CompanyEMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_CompanyFMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Company F.",
        "label": "Company F [Member]",
        "terseLabel": "Company F"
       }
      }
     },
     "localname": "CompanyFMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_ConsignmentArrangementsWithCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consignment Arrangements With Customers [Member]",
        "label": "Consignment Arrangements With Customers [Member]",
        "terseLabel": "Consignment Arrangements with Customers"
       }
      }
     },
     "localname": "ConsignmentArrangementsWithCustomersMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_CostMethodInvestment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost method investment.",
        "label": "Cost Method Investment",
        "verboseLabel": "Carrying Value"
       }
      }
     },
     "localname": "CostMethodInvestment",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_CostMethodInvestmentOwnershipPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost method investment ownership percentage.",
        "label": "Cost Method Investment Ownership Percentage",
        "verboseLabel": "Ownership Percentage"
       }
      }
     },
     "localname": "CostMethodInvestmentOwnershipPercentage",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_CustomerAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer A.",
        "label": "Customer A [Member]",
        "terseLabel": "Customer A"
       }
      }
     },
     "localname": "CustomerAMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_CustomerBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer B.",
        "label": "Customer B [Member]",
        "terseLabel": "Customer B"
       }
      }
     },
     "localname": "CustomerBMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_CustomerLocksPeriodForPurchasePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer locks period for purchase price.",
        "label": "Customer Locks Period For Purchase Price",
        "terseLabel": "Customer locks period for purchase price"
       }
      }
     },
     "localname": "CustomerLocksPeriodForPurchasePrice",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "amrk_DebtInstrumentAggregateInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument, Aggregate Interest Rate",
        "label": "Debt Instrument Aggregate Interest Rate",
        "terseLabel": "Debt instrument, aggregate interest rate (percentage)"
       }
      }
     },
     "localname": "DebtInstrumentAggregateInterestRate",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_DeferredLiabilityNotSubjectToMarketRisk": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 3.0,
       "parentTag": "amrk_CommitmentAtMarket",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Liability Not Subject To Market Risk",
        "label": "Deferred Liability Not Subject To Market Risk",
        "negatedLabel": "In-transit inventory no longer subject to market risk"
       }
      }
     },
     "localname": "DeferredLiabilityNotSubjectToMarketRisk",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_DeferredPaymentObligationDueToRelatedParty": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Payment Obligation Due To Related Party",
        "label": "Deferred Payment Obligation Due To Related Party",
        "terseLabel": "Deferred payment obligations"
       }
      }
     },
     "localname": "DeferredPaymentObligationDueToRelatedParty",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_DeferredRevenueAndOtherAdvancesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred revenue and other advances current.",
        "label": "Deferred Revenue and Other Advances Current",
        "terseLabel": "Deferred revenue and other advances",
        "totalLabel": "Deferred revenue and advances from customers"
       }
      }
     },
     "localname": "DeferredRevenueAndOtherAdvancesCurrent",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_Deferredtaxassetsleaseliabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax assets lease liabilities.",
        "label": "DeferredTaxAssetsLeaseLiabilities",
        "terseLabel": "Lease liabilities"
       }
      }
     },
     "localname": "Deferredtaxassetsleaseliabilities",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_DefinedContributionPlanAutomaticDefaultContributionForNewlyEligibleEmployeesPercentOfDeductedPreTaxFromEmployeesPay": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined contribution plan automatic default contribution for newly eligible employees percent of deducted pre tax from employees pay.",
        "label": "Defined Contribution Plan Automatic Default Contribution For Newly Eligible Employees Percent Of Deducted Pre Tax From Employees Pay",
        "terseLabel": "Automatic default contribution for newly eligible employees percent of deducted pre-tax from employees pay"
       }
      }
     },
     "localname": "DefinedContributionPlanAutomaticDefaultContributionForNewlyEligibleEmployeesPercentOfDeductedPreTaxFromEmployeesPay",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_DefinedContributionPlanEmployeesEligiblePeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined contribution plan employees eligible period.",
        "label": "Defined Contribution Plan Employees Eligible Period",
        "terseLabel": "Employees eligible period"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployeesEligiblePeriod",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "amrk_DerivativeAssetOpenPurchasesAndSalesCommitmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative Asset Open Purchases And Sales Commitments [Member] [Member]",
        "label": "Derivative Asset Open Purchases And Sales Commitments [Member]",
        "terseLabel": "Open sale and purchase commitments, net"
       }
      }
     },
     "localname": "DerivativeAssetOpenPurchasesAndSalesCommitmentsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_DerivativeLiabilityMarginAccountsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative Liability Margin Accounts [Member]",
        "label": "Derivative Liability Margin Accounts [Member]",
        "terseLabel": "Liability on margin accounts"
       }
      }
     },
     "localname": "DerivativeLiabilityMarginAccountsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_DerivativeOpenPositionExpectedSettlementPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative Open Position Expected Settlement Period",
        "label": "Derivative Open Position Expected Settlement Period",
        "terseLabel": "Derivative open positions expected settlement period"
       }
      }
     },
     "localname": "DerivativeOpenPositionExpectedSettlementPeriod",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "amrk_DescriptionOfBusinessLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of business.",
        "label": "Description Of Business [Line Items]",
        "terseLabel": "Description Of Business [Line Items]"
       }
      }
     },
     "localname": "DescriptionOfBusinessLineItems",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_DescriptionOfBusinessTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of business.",
        "label": "Description Of Business [Table]",
        "terseLabel": "Description Of Business [Table]"
       }
      }
     },
     "localname": "DescriptionOfBusinessTable",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_DigitalAssetWriteDowns": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Digital Asset, Write-downs",
        "label": "Digital Asset, Write-downs",
        "terseLabel": "Digital asset, write-downs"
       }
      }
     },
     "localname": "DigitalAssetWriteDowns",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_DigitalAssetsCarryingAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Digital assets carrying amount.",
        "label": "Digital Assets Carrying Amount",
        "terseLabel": "Digital assets carrying amount"
       }
      }
     },
     "localname": "DigitalAssetsCarryingAmount",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_DigitalAssetsCumulativeWriteDowns": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Digital assets cumulative write-downs.",
        "label": "Digital Assets Cumulative Write-downs",
        "terseLabel": "Digital assets, net of cumulative write-downs"
       }
      }
     },
     "localname": "DigitalAssetsCumulativeWriteDowns",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_DividendsDeclaredStockSplitPerCommonShareCash": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dividends declared stock split per common share.",
        "label": "Dividends Declared Stock Split Per Common Share Cash",
        "terseLabel": "Dividends declared stock split per common share"
       }
      }
     },
     "localname": "DividendsDeclaredStockSplitPerCommonShareCash",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_DueFromBrokersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Due from brokers [Member]",
        "label": "Due From Brokers [Member]",
        "terseLabel": "Due from Brokers"
       }
      }
     },
     "localname": "DueFromBrokersMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesScheduleOfReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_EbitdaRiskPremiumAssumption": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EBITDA risk premium assumption.",
        "label": "EBITDA Risk Premium Assumption",
        "terseLabel": "EBITDA risk premium assumption"
       }
      }
     },
     "localname": "EbitdaRiskPremiumAssumption",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_EbitdaVolatilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EBITDA volatility.",
        "label": "EBITDA Volatility [Member]",
        "terseLabel": "EBITDA Volatility"
       }
      }
     },
     "localname": "EbitdaVolatilityMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_EffectiveIncomeTaxRateReconciliationAdjustmentRelatedToAcquisition": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation adjustment related to acquisition.",
        "label": "Effective Income Tax Rate Reconciliation Adjustment Related to Acquisition",
        "terseLabel": "Adjustment related to JMB acquisition"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAdjustmentRelatedToAcquisition",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_EquityMethodInvestmentOwnershipThresholdPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity method investment ownership threshold percentage.",
        "label": "Equity Method Investment Ownership Threshold Percentage",
        "terseLabel": "Threshold percentage for equity method investment"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipThresholdPercentage",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_EquityMethodandCostMethodInvestmentsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Method and Cost Method Investments [Text Block]",
        "label": "Equity Methodand Cost Method Investments [Text Block]",
        "terseLabel": "Long-Term Investments"
       }
      }
     },
     "localname": "EquityMethodandCostMethodInvestmentsTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_EquityVolatilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity volatility.",
        "label": "Equity Volatility [Member]",
        "terseLabel": "Equity Volatility"
       }
      }
     },
     "localname": "EquityVolatilityMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_EstimatedFairValueOfDigitalAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated fair value of digital assets.",
        "label": "Estimated Fair Value Of Digital Assets",
        "terseLabel": "Estimated fair values of digital assets"
       }
      }
     },
     "localname": "EstimatedFairValueOfDigitalAssets",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_ExerciseOfOptionToAcquireAdditionalOwnershipInterestEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise of option to acquire additional ownership interest end date.",
        "label": "Exercise of Option to Acquire Additional Ownership Interest End Date",
        "terseLabel": "Exercise of option to acquire additional ownership interest end date",
        "verboseLabel": "Exercise of option to acquire additional ownership interest end month and year"
       }
      }
     },
     "localname": "ExerciseOfOptionToAcquireAdditionalOwnershipInterestEndDate",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "amrk_ExerciseOfOptionToAcquireAdditionalOwnershipInterestStartDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise of option to acquire additional ownership interest start date.",
        "label": "Exercise of Option to Acquire Additional Ownership Interest Start Date",
        "terseLabel": "Exercise of option to acquire additional ownership interest start date",
        "verboseLabel": "Exercise of option to acquire additional ownership interest start month and year"
       }
      }
     },
     "localname": "ExerciseOfOptionToAcquireAdditionalOwnershipInterestStartDate",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "amrk_ExpectedOwnershipPercentageAfterAdditionalAcquisition": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected ownership percentage after additional acquisition.",
        "label": "Expected Ownership Percentage After Additional Acquisition",
        "terseLabel": "Expected ownership percentage after additional acquisition"
       }
      }
     },
     "localname": "ExpectedOwnershipPercentageAfterAdditionalAcquisition",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_FairMarketValueOfDigitalAssetsHeld": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair market value of digital assets held.",
        "label": "Fair Market Value Of Digital Assets Held",
        "terseLabel": "Fair market value of digital assets held"
       }
      }
     },
     "localname": "FairMarketValueOfDigitalAssetsHeld",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_FairValueAssumptionsCorrelationFactor": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value assumptions correlation factor.",
        "label": "Fair Value Assumptions Correlation Factor",
        "terseLabel": "Fair value assumptions correlation factor"
       }
      }
     },
     "localname": "FairValueAssumptionsCorrelationFactor",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_FairValueOfOptionToPurchaseInvestment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of option to purchase investment.",
        "label": "Fair Value Of Option To Purchase Investment",
        "terseLabel": "Fair value of option as determined by independent third-party valuation",
        "verboseLabel": "Fair value of option to purchase investment"
       }
      }
     },
     "localname": "FairValueOfOptionToPurchaseInvestment",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_FinanceLeaseCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance lease cost.",
        "label": "Finance Lease Cost",
        "terseLabel": "Finance lease costs"
       }
      }
     },
     "localname": "FinanceLeaseCost",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_FinanceReceivableNumberofLoans": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance Receivable, Number of Loans",
        "label": "Finance Receivable Numberof Loans",
        "terseLabel": "Number of loans"
       }
      }
     },
     "localname": "FinanceReceivableNumberofLoans",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "amrk_FinancialAssetOriginatedWithRelatedPartyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial Asset Originated With Related Party [Member]",
        "label": "Financial Asset Originated With Related Party [Member]",
        "terseLabel": "Secured Loans Originated - With a Related Party"
       }
      }
     },
     "localname": "FinancialAssetOriginatedWithRelatedPartyMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableSummaryOfCarryingValueOfSecuredLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_FinancialAssetOriginatedWithThirdPartyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial Asset Originated With Third Party [Member]",
        "label": "Financial Asset Originated With Third Party [Member]",
        "terseLabel": "Secured Loans Originated"
       }
      }
     },
     "localname": "FinancialAssetOriginatedWithThirdPartyMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableSummaryOfCarryingValueOfSecuredLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_FinancingArrangementsNoticePeriodToTerminateContract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing arrangements, notice period to terminate contract.",
        "label": "Financing Arrangements Notice Period To Terminate Contract",
        "terseLabel": "Notice period to terminate contract"
       }
      }
     },
     "localname": "FinancingArrangementsNoticePeriodToTerminateContract",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "amrk_FiniteAndIndefiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finite And Indefinite-lived Intangible Assets [Line Items]",
        "label": "Finite And Indefinite Lived Intangible Assets [Line Items]",
        "terseLabel": "Indefinite-lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteAndIndefiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_FirstPercentageOfEmployersContributionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First percentage of employers contribution.",
        "label": "First Percentage Of Employers Contribution [Member]",
        "terseLabel": "First Percentage Of Employers Contribution"
       }
      }
     },
     "localname": "FirstPercentageOfEmployersContributionMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_FormerParentSGIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Former_Parent_(SGI) [Member]",
        "label": "Former Parent S G I [Member]",
        "terseLabel": "Stack's Bowers Galleries"
       }
      }
     },
     "localname": "FormerParentSGIMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfRelatedPartyReceivableAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfSalesAndPurchasesOfRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_ForwardContractMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Forward contract.",
        "label": "Forward Contract [Member]",
        "terseLabel": "Forward contracts"
       }
      }
     },
     "localname": "ForwardContractMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_FutureContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Future contracts.",
        "label": "Future Contracts [Member]",
        "terseLabel": "Future contracts"
       }
      }
     },
     "localname": "FutureContractsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_FuturesCommodityAndForwardsContractsAndOpenPurchaseAndSaleCommitmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Futures Commodity And Forwards Contracts And Open Purchase And Sale Commitments [Member]",
        "label": "Futures Commodity And Forwards Contracts And Open Purchase And Sale Commitments [Member]",
        "terseLabel": "Future commodity and forward contracts"
       }
      }
     },
     "localname": "FuturesCommodityAndForwardsContractsAndOpenPurchaseAndSaleCommitmentsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_GoldlineLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Goldline, LLC [Member]",
        "label": "Goldline L L C [Member]",
        "terseLabel": "Goldline, LLC"
       }
      }
     },
     "localname": "GoldlineLLCMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_GradedSportsCardsAndSportsMemorabiliaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Graded sports cards and sports memorabilia.",
        "label": "Graded Sports Cards and Sports Memorabilia [Member]",
        "terseLabel": "Graded Sports Cards and Sports Memorabilia"
       }
      }
     },
     "localname": "GradedSportsCardsAndSportsMemorabiliaMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfClassesForFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_GrossProfitPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross profit, percentage.",
        "label": "Gross Profit Percentage",
        "terseLabel": "Gross margin percentage by segment"
       }
      }
     },
     "localname": "GrossProfitPercentage",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_HeldforSaleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held for Sale [Member]",
        "label": "Heldfor Sale [Member]",
        "terseLabel": "Inventory held for Sale"
       }
      }
     },
     "localname": "HeldforSaleMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_Incometaxreconciliationforeignderivedintangibleincome": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax reconciliation foreign derived intangible income.",
        "label": "IncomeTaxReconciliationForeignDerivedIntangibleIncome",
        "terseLabel": "Foreign derived intangible income"
       }
      }
     },
     "localname": "Incometaxreconciliationforeignderivedintangibleincome",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_Incometaxreconciliationpermanentadjustments": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax reconciliation permanent adjustments",
        "label": "IncomeTaxReconciliationPermanentAdjustments",
        "terseLabel": "Permanent adjustments"
       }
      }
     },
     "localname": "Incometaxreconciliationpermanentadjustments",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_Incometaxreconciliationreversalofpreacquisitiondeferredtaxesinjointventure": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": 9.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax reconciliation reversal of pre acquisition deferred taxes in joint venture.",
        "label": "IncomeTaxReconciliationReversalOfPreAcquisitionDeferredTaxesInJointVenture",
        "terseLabel": "Reversal of pre-acquisition deferred taxes in joint venture"
       }
      }
     },
     "localname": "Incometaxreconciliationreversalofpreacquisitiondeferredtaxesinjointventure",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_Incometaxreconciliationstateratechange": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax reconciliation state rate change",
        "label": "IncomeTaxReconciliationStateRateChange",
        "terseLabel": "State rate change"
       }
      }
     },
     "localname": "Incometaxreconciliationstateratechange",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_IncreaseDecreaseInAccountsPayableAndOtherPayables": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 24.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in accounts payable and other payables.",
        "label": "Increase (Decrease) in Accounts Payable and Other Payables",
        "terseLabel": "Account payable and other payables"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndOtherPayables",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_IncreaseDecreaseInAssetsHeldUnderFinancingArrangementsWithRepurchaseOption": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (Decrease) In Assets Held Under Financing Arrangements, With Repurchase Option",
        "label": "Increase Decrease In Assets Held Under Financing Arrangements With Repurchase Option",
        "negatedLabel": "Precious metals held under financing arrangements"
       }
      }
     },
     "localname": "IncreaseDecreaseInAssetsHeldUnderFinancingArrangementsWithRepurchaseOption",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_IncreaseDecreaseInDeferredRevenueAndOtherAdvances": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 25.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in deferred revenue and other advances.",
        "label": "Increase (Decrease) in Deferred Revenue and Other Advances",
        "terseLabel": "Deferred revenue and other advances"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredRevenueAndOtherAdvances",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_IncreaseDecreaseInEquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase decrease in equity method investment ownership percentage.",
        "label": "Increase Decrease in Equity Method Investment Ownership Percentage",
        "terseLabel": "Increase in equity method investment ownership percentage"
       }
      }
     },
     "localname": "IncreaseDecreaseInEquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_IncrementalAcquisitionOfPreExistingEquityMethodInvestmentNetOfCash": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incremental acquisition of pre-existing equity method investment net of cash.",
        "label": "Incremental Acquisition Of Pre-Existing Equity Method Investment, Net Of Cash",
        "negatedLabel": "Incremental acquisition of pre-existing equity method investment, net of cash"
       }
      }
     },
     "localname": "IncrementalAcquisitionOfPreExistingEquityMethodInvestmentNetOfCash",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_IndefiniteLivedIntangibleAssetsExcludingGoodwillNetOfAccumulatedImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indefinite-Lived Intangible Assets (Excluding Goodwill), Net of Accumulated Impairment",
        "label": "Indefinite Lived Intangible Assets Excluding Goodwill Net Of Accumulated Impairment",
        "totalLabel": "Indefinite Lived Intangible Assets Excluding Goodwill Net of Accumulated Impairment"
       }
      }
     },
     "localname": "IndefiniteLivedIntangibleAssetsExcludingGoodwillNetOfAccumulatedImpairment",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_IntangibleAssetsAccumulatedImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_IntangibleAssetsNetExcludingGoodwill",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intangible Assets Accumulated Impairment",
        "label": "Intangible Assets Accumulated Impairment",
        "negatedLabel": "Accumulated Impairment"
       }
      }
     },
     "localname": "IntangibleAssetsAccumulatedImpairment",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_IntangibleAssetsExcludingGoodwillImpairedAccumulatedImpairmentLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intangible assets excluding goodwill impaired accumulated impairment loss.",
        "label": "Intangible Assets Excluding Goodwill Impaired Accumulated Impairment Loss",
        "terseLabel": "Accumulated impairment losses on intangibles"
       }
      }
     },
     "localname": "IntangibleAssetsExcludingGoodwillImpairedAccumulatedImpairmentLoss",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_IntangiblesSubjectToAmortizationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intangibles subject to amortization.",
        "label": "Intangibles Subject To Amortization [Member]",
        "terseLabel": "Intangibles subject to amortization"
       }
      }
     },
     "localname": "IntangiblesSubjectToAmortizationMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_InterestExpenseDebtAsPercentageOfExpenseRecognized": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest expense, debt as percentage of expense recognized.",
        "label": "Interest Expense Debt As Percentage Of Expense Recognized",
        "terseLabel": "Percentage of total expense recognized"
       }
      }
     },
     "localname": "InterestExpenseDebtAsPercentageOfExpenseRecognized",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsProductFinancingArrangementsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_InterestIncludedinthePrincipal": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest, Included in the Principal",
        "label": "Interest Includedinthe Principal",
        "negatedLabel": "Interest added to principal of secured loans"
       }
      }
     },
     "localname": "InterestIncludedinthePrincipal",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_InterestIncomefromFinanceProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest Income from Finance Products [Member]",
        "label": "Interest Incomefrom Finance Products [Member]",
        "terseLabel": "Interest income from finance products and repurchase arrangements"
       }
      }
     },
     "localname": "InterestIncomefromFinanceProductsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_InterestIncomefromLoanReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest Income from Loan Receivable [Member]",
        "label": "Interest Incomefrom Loan Receivable [Member]",
        "terseLabel": "Interest income from secured loans receivables"
       }
      }
     },
     "localname": "InterestIncomefromLoanReceivableMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_InventoryBorrowedFromSuppliers": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 5.0,
       "parentTag": "amrk_CommitmentAtMarket",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory Borrowed From Suppliers",
        "label": "Inventory Borrowed From Suppliers",
        "negatedLabel": "Borrowed precious metals"
       }
      }
     },
     "localname": "InventoryBorrowedFromSuppliers",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_InventoryCommemorativeCoinStatedAtLowerCostOrMarket": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 0.0,
       "parentTag": "amrk_InventoryPurchasePreciousMetalPositionValueNotHedged",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory, Commemorative Coin, Stated At Lower Cost Or Market",
        "label": "Inventory Commemorative Coin Stated At Lower Cost Or Market",
        "negatedLabel": "Commemorative coin inventory, held at lower of cost or net realizable value",
        "terseLabel": "Commemorative coin inventory, held at lower of cost or net realizable value"
       }
      }
     },
     "localname": "InventoryCommemorativeCoinStatedAtLowerCostOrMarket",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_InventoryPurchasePreciousMetalPositionValueNotHedged": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "amrk_PhysicalInventoryNetOfPurchasePremiums",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory purchase precious metal position value, not hedged.",
        "label": "Inventory Purchase Precious Metal Position Value Not Hedged",
        "negatedTotalLabel": "Precious metal value not hedged"
       }
      }
     },
     "localname": "InventoryPurchasePreciousMetalPositionValueNotHedged",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_InventoryPurchasePremiumOnMetalsPositionmarkedtomarket": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "amrk_InventoryPurchasePreciousMetalPositionValueNotHedged",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory Purchase Premium On Metals Position marked to market",
        "label": "Inventory Purchase Premium On Metals Positionmarkedtomarket",
        "negatedLabel": "Premium on metals position",
        "terseLabel": "Premium on metals position"
       }
      }
     },
     "localname": "InventoryPurchasePremiumOnMetalsPositionmarkedtomarket",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_InventorySubjectToDerivativeFinancialInstrumentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory Subject to Derivative Financial Instruments [Abstract]",
        "label": "Inventory Subject To Derivative Financial Instruments [Abstract]",
        "terseLabel": "Precious metal subject to derivative financial instruments:"
       }
      }
     },
     "localname": "InventorySubjectToDerivativeFinancialInstrumentsAbstract",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_InventorySubjectToPriceRisk": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 0.0,
       "parentTag": "amrk_NetInventorySubjectToPriceRisk",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory Subject To Price Risk",
        "label": "Inventory Subject To Price Risk",
        "totalLabel": "Precious metal subject to price risk"
       }
      }
     },
     "localname": "InventorySubjectToPriceRisk",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_InventorySubjecttoRepurchaseAgreement": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory Subject to Repurchase Agreement",
        "label": "Inventory Subjectto Repurchase Agreement",
        "terseLabel": "Precious metals inventory subject to repurchase arrangements"
       }
      }
     },
     "localname": "InventorySubjecttoRepurchaseAgreement",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_InventoryUnrealizedGainsLossesResultingFromMarketValueAndCostOfPhysicalInventory": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory, Unrealized Gains/(Losses) Resulting from Market Value and Cost of Physical Inventory",
        "label": "Inventory Unrealized Gains Losses Resulting From Market Value And Cost Of Physical Inventory",
        "negatedLabel": "Unrealized gains (losses) included in inventory balance",
        "terseLabel": "Unrealized gains (losses) included in inventory balance"
       }
      }
     },
     "localname": "InventoryUnrealizedGainsLossesResultingFromMarketValueAndCostOfPhysicalInventory",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_InventoryandPreciousMetalHeldUnderFinancingArrangements": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 0.0,
       "parentTag": "amrk_PhysicalInventoryNetOfPurchasePremiums",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventory and Precious Metal Held Under Financing Arrangements",
        "label": "Inventoryand Precious Metal Held Under Financing Arrangements",
        "totalLabel": "Inventory and precious metals held under financing arrangements"
       }
      }
     },
     "localname": "InventoryandPreciousMetalHeldUnderFinancingArrangements",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_Inventorymarkedmarketfairvaluedisclosure": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "inventory, marked-market, fair value disclosure",
        "label": "Inventorymarkedmarketfairvaluedisclosure",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "Inventorymarkedmarketfairvaluedisclosure",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_JMBullionIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "JM Bullion, Inc.",
        "label": "J M Bullion Inc [Member]",
        "terseLabel": "JMB"
       }
      }
     },
     "localname": "JMBullionIncMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_JMBullionIncorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "JM Bullion, Inc",
        "label": "J M Bullion Incorporation [Member]",
        "terseLabel": "JMB"
       }
      }
     },
     "localname": "JMBullionIncorporationMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_LeaseandFinanceReceivableLineofCreditMaximumAvailable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lease and Finance Receivable, Line of Credit, Maximum Available",
        "label": "Leaseand Finance Receivable Lineof Credit Maximum Available",
        "terseLabel": "Maximum borrowing capacity available"
       }
      }
     },
     "localname": "LeaseandFinanceReceivableLineofCreditMaximumAvailable",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_LiabilitiesOnBorrowedMetals": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liabilities on borrowed metals.",
        "label": "Liabilities On Borrowed Metals",
        "terseLabel": "Liabilities on borrowed metals"
       }
      }
     },
     "localname": "LiabilitiesOnBorrowedMetals",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_LiabilitiesOnBorrowedMetalsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liabilities on borrowed metals.",
        "label": "Liabilities On Borrowed Metals [Line Items]",
        "terseLabel": "Liabilities On Borrowed Metals [Line Items]"
       }
      }
     },
     "localname": "LiabilitiesOnBorrowedMetalsLineItems",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_LiabilitiesOnBorrowedMetalsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liabilities on borrowed metals.",
        "label": "Liabilities on Borrowed Metals [Member]",
        "terseLabel": "Liabilities on Borrowed Metals"
       }
      }
     },
     "localname": "LiabilitiesOnBorrowedMetalsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_LiabilitiesOnBorrowedMetalsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liabilities on borrowed metals.",
        "label": "Liabilities On Borrowed Metals [Table]",
        "terseLabel": "Liabilities On Borrowed Metals [Table]"
       }
      }
     },
     "localname": "LiabilitiesOnBorrowedMetalsTable",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_LiabilityOnBorrowedMetals": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liability on precious metals from third parties, as of the balance sheet date that must be repaid within one year (or the normal operating cycle, if longer).",
        "label": "Liability On Borrowed Metals",
        "terseLabel": "Liabilities on borrowed metals"
       }
      }
     },
     "localname": "LiabilityOnBorrowedMetals",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_LineOfCreditFacilityRevolvingCommitmentLenderHoldingPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line of credit facility revolving commitment lender holding percentage.",
        "label": "Line of Credit Facility Revolving Commitment Lender Holding Percentage",
        "terseLabel": "Lender holding percentage of revolving commitments"
       }
      }
     },
     "localname": "LineOfCreditFacilityRevolvingCommitmentLenderHoldingPercentage",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_LoanAgreementOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan agreement one.",
        "label": "Loan Agreement One [Member]",
        "terseLabel": "March 1, 2018 Loan Agreement"
       }
      }
     },
     "localname": "LoanAgreementOneMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_LoanAgreementTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan agreement two.",
        "label": "Loan Agreement Two [Member]",
        "terseLabel": "March 4, 2022 Loan Agreement"
       }
      }
     },
     "localname": "LoanAgreementTwoMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_LoanCollateralValuesUpdatedPeriodFrequency": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan collateral values updated period frequency",
        "label": "Loan Collateral Values Updated Period Frequency",
        "terseLabel": "Loan collateral values updated period frequency"
       }
      }
     },
     "localname": "LoanCollateralValuesUpdatedPeriodFrequency",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "amrk_LoanReceivableLiquidationPeriodPostDefault": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan Receivable Liquidation Period Post Default",
        "label": "Loan Receivable Liquidation Period Post Default",
        "terseLabel": "Loan receivable liquidation period post default"
       }
      }
     },
     "localname": "LoanReceivableLiquidationPeriodPostDefault",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "amrk_LoanToValueInExcessOfHundredPercentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan-to-value In Excess of Hundred Percent.",
        "label": "Loan To Value In Excess Of Hundred Percent [Member]",
        "terseLabel": "Loan-to-value Ratio in Excess of 100%"
       }
      }
     },
     "localname": "LoanToValueInExcessOfHundredPercentMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_LoanToValueOfLessThanSeventyFivePercentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan-to-value of Less Than Seventy Five Percent [Member]",
        "label": "Loan To Value Of Less Than Seventy Five Percent [Member]",
        "terseLabel": "Loan-to-value of Less than 75%"
       }
      }
     },
     "localname": "LoanToValueOfLessThanSeventyFivePercentMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_LoanToValueOfSeventyFivePercentOrMoreMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan-to-value of Seventy Five Percent Or More [Member]",
        "label": "Loan To Value Of Seventy Five Percent Or More [Member]",
        "terseLabel": "Loan-to-value of 75% or More"
       }
      }
     },
     "localname": "LoanToValueOfSeventyFivePercentOrMoreMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_LoanandLeasesReceivablesParticipationInterestPercentageofNetProfitsRealizedonSale": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Instrument, Participation Interest, Percentage of Net Profits Realized on Sale",
        "label": "Loanand Leases Receivables Participation Interest Percentageof Net Profits Realizedon Sale",
        "terseLabel": "Participation interest, percentage of net profits realized on sale"
       }
      }
     },
     "localname": "LoanandLeasesReceivablesParticipationInterestPercentageofNetProfitsRealizedonSale",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_LoansReceivableAverageEffectiveRateOfInterest": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans Receivable Average Effective Rate Of Interest",
        "label": "Loans Receivable Average Effective Rate Of Interest",
        "terseLabel": "Loans receivable average effective rate of interest (percentage)"
       }
      }
     },
     "localname": "LoansReceivableAverageEffectiveRateOfInterest",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_LoansReceivablePaymentTermsForInterest": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans Receivable Payment Terms For Interest",
        "label": "Loans Receivable Payment Terms For Interest",
        "terseLabel": "Loans receivable payment terms for interest"
       }
      }
     },
     "localname": "LoansReceivablePaymentTermsForInterest",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "amrk_MarginSaleCommitments": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 2.0,
       "parentTag": "amrk_CommitmentAtMarket",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Margin Sale Commitments",
        "label": "Margin Sale Commitments",
        "negatedLabel": "Margin sale commitments",
        "negatedTerseLabel": "Margin sales commitments"
       }
      }
     },
     "localname": "MarginSaleCommitments",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_MetalDeliversToCustomerAfterReceivingCustomersDepositBasedOnPrevailingCurrentSpotPricePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Metal delivers to customer after receiving customers deposit based on prevailing current spot price percentage.",
        "label": "Metal Delivers To Customer After Receiving Customers Deposit Based On Prevailing Current Spot Price Percentage",
        "terseLabel": "Metal delivers to customer after receiving customers deposit based on prevailing current spot price percentage"
       }
      }
     },
     "localname": "MetalDeliversToCustomerAfterReceivingCustomersDepositBasedOnPrevailingCurrentSpotPricePercentage",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_MetalsPurchaseByCustomerMaximumPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Metals purchase by customer maximum period.",
        "label": "Metals Purchase By Customer Maximum Period",
        "terseLabel": "Metals purchase by customer maximum specified time period"
       }
      }
     },
     "localname": "MetalsPurchaseByCustomerMaximumPeriod",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "amrk_NetInventorySubjectToPriceRisk": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net Inventory Subject To Price Risk",
        "label": "Net Inventory Subject To Price Risk",
        "totalLabel": "Net precious metals subject to commodity price risk"
       }
      }
     },
     "localname": "NetInventorySubjectToPriceRisk",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_NextPercentageOfEmployersContributionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Next percentage of employers contribution.",
        "label": "Next Percentage Of Employers Contribution [Member]",
        "terseLabel": "Next Percentage Of Employers Contribution"
       }
      }
     },
     "localname": "NextPercentageOfEmployersContributionMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_NonAccrualStatusMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-accrual status.",
        "label": "Non Accrual Status [Member]",
        "terseLabel": "Non-Accrual Status"
       }
      }
     },
     "localname": "NonAccrualStatusMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_NonCashInvestingAndFinancingFairValueOfSharesExchangedInAcquisitions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non cash investing and financing fair value of shares exchanged in acquisitions.",
        "label": "Non Cash Investing And Financing Fair Value Of Shares Exchanged In Acquisitions",
        "terseLabel": "Fair value of shares exchanged for increase in long-term investment"
       }
      }
     },
     "localname": "NonCashInvestingAndFinancingFairValueOfSharesExchangedInAcquisitions",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_NonCompeteAgreementsAndOtherIntangibleAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-compete agreements and other intangible assets.",
        "label": "Non Compete Agreements And Other Intangible Assets [Member]",
        "terseLabel": "Non-compete and other"
       }
      }
     },
     "localname": "NonCompeteAgreementsAndOtherIntangibleAssetsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_NoncashInvestingandFinancingInterestAddedtoPrincipalFinanceReceivable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-cash Investing and Financing, Interest Added to Principal, Finance Receivable",
        "label": "Noncash Investingand Financing Interest Addedto Principal Finance Receivable",
        "terseLabel": "Interest added to principal of secured loans"
       }
      }
     },
     "localname": "NoncashInvestingandFinancingInterestAddedtoPrincipalFinanceReceivable",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_NoncontrollingInterestPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Noncontrolling interest policy.",
        "label": "Noncontrolling Interest Policy Policy [Text Block]",
        "terseLabel": "Noncontrolling Interest"
       }
      }
     },
     "localname": "NoncontrollingInterestPolicyPolicyTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_NorthAmericaexcludingUSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "North America, excluding USA [Member]",
        "label": "North Americaexcluding U S A [Member]",
        "terseLabel": "North America, excluding United States"
       }
      }
     },
     "localname": "NorthAmericaexcludingUSAMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_NotesLoansAndFinancingReceivablePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notes, loans and financing receivable, percentage.",
        "label": "Notes Loans And Financing Receivable Percentage",
        "terseLabel": "Secured loans (current), percentage"
       }
      }
     },
     "localname": "NotesLoansAndFinancingReceivablePercentage",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_NumberOfAdditionalSharesReceivedForEverySharesHeldOnRecordDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of additional shares received for every shares held on record date.",
        "label": "Number of Additional Shares Received for Every Shares Held on Record Date",
        "terseLabel": "Number of additional share of common stock for every share held on the record date"
       }
      }
     },
     "localname": "NumberOfAdditionalSharesReceivedForEverySharesHeldOnRecordDate",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "amrk_NumberOfCoinsAndBarProducts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of coins and bar products.",
        "label": "Number Of Coins And Bar Products",
        "terseLabel": "Number of coins and bar products"
       }
      }
     },
     "localname": "NumberOfCoinsAndBarProducts",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "amrk_NumberOfInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of investments.",
        "label": "Number Of Investments",
        "terseLabel": "Number of investments"
       }
      }
     },
     "localname": "NumberOfInvestments",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "amrk_NumberOfProducts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of products.",
        "label": "Number of Products",
        "terseLabel": "Number of products"
       }
      }
     },
     "localname": "NumberOfProducts",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "amrk_NumismaticandSemiNumismaticMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Numismatic and Semi Numismatic [Member]",
        "label": "Numismaticand Semi Numismatic [Member]",
        "terseLabel": "Numismatic and Semi-numismatic"
       }
      }
     },
     "localname": "NumismaticandSemiNumismaticMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfClassesForFinancingReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_ObligationUnderProductFinancingAgreement": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 6.0,
       "parentTag": "amrk_CommitmentAtMarket",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Obligation Under Product Financing Agreement - amount required to repurchase outstanding inventory under product financing agreement with a third party for the sale of gold and silver. Such agreement allows the Company to repurchase outstanding inventory at an agreed-upon price based on the spot price on the repurchase date.",
        "label": "Obligation Under Product Financing Agreement",
        "negatedLabel": "Product financing arrangements",
        "terseLabel": "Product financing arrangements"
       }
      }
     },
     "localname": "ObligationUnderProductFinancingAgreement",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsProductFinancingArrangementsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_OffsettingAssetsAndLiabilitiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "[Line Items] for Offsetting Assets and Liabilities [Table]",
        "label": "Offsetting Assets And Liabilities [Line Items]",
        "terseLabel": "Offsetting Assets And Liabilities [Line Items]"
       }
      }
     },
     "localname": "OffsettingAssetsAndLiabilitiesLineItems",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_OffsettingAssetsAndLiabilitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Offsetting Assets and Liabilities [Table].",
        "label": "Offsetting Assets And Liabilities [Table]",
        "terseLabel": "Offsetting Assets And Liabilities [Table]"
       }
      }
     },
     "localname": "OffsettingAssetsAndLiabilitiesTable",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_OpenInventoryPurchaseCommitments": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 0.0,
       "parentTag": "amrk_CommitmentAtMarket",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Open Inventory Purchase Commitments",
        "label": "Open Inventory Purchase Commitments",
        "terseLabel": "Open inventory purchase commitments",
        "verboseLabel": "Purchase commitments"
       }
      }
     },
     "localname": "OpenInventoryPurchaseCommitments",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_OpenInventorySaleCommitments": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "amrk_CommitmentAtMarket",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Open Inventory Sale Commitments",
        "label": "Open Inventory Sale Commitments",
        "negatedLabel": "Open inventory sales commitments",
        "negatedTerseLabel": "Sales commitments"
       }
      }
     },
     "localname": "OpenInventorySaleCommitments",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_OpenPurchasesAndSalesCommitmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Open Purchases And Sales Commitments [Member]",
        "label": "Open Purchases And Sales Commitments [Member]",
        "terseLabel": "Open sale and purchase commitments"
       }
      }
     },
     "localname": "OpenPurchasesAndSalesCommitmentsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_OperatingLossCarryforwardTaxEffected": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating Loss Carryforward, Tax Effected",
        "label": "Operating Loss Carryforward Tax Effected",
        "terseLabel": "Tax effected"
       }
      }
     },
     "localname": "OperatingLossCarryforwardTaxEffected",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_OptionToAcquireAdditionalOwnershipInterestPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Option to acquire additional ownership interest percentage.",
        "label": "Option to Acquire Additional Ownership Interest Percentage",
        "terseLabel": "Option to acquire additional ownership interest percentage"
       }
      }
     },
     "localname": "OptionToAcquireAdditionalOwnershipInterestPercentage",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_OptionToPurchaseInterestInLongTermInvestmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Option to purchase interest in long term investment.",
        "label": "Option to Purchase Interest in Long Term Investment [Member]",
        "terseLabel": "Option to purchase interest in a long-term investment"
       }
      }
     },
     "localname": "OptionToPurchaseInterestInLongTermInvestmentMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_OtherIncomeAndExpensePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other income and expense.",
        "label": "Other Income And Expense Policy [Text Block]",
        "terseLabel": "Other Income, Net"
       }
      }
     },
     "localname": "OtherIncomeAndExpensePolicyTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_OtherLongTermAssetsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other long term assets.",
        "label": "Other Long Term Assets Policy [Text Block]",
        "terseLabel": "Other Long-Term Assets"
       }
      }
     },
     "localname": "OtherLongTermAssetsPolicyTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_OtherSourcesOfRevenuePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other sources of revenue.",
        "label": "Other Sources Of Revenue Policy [Text Block]",
        "terseLabel": "Other Sources of Revenue"
       }
      }
     },
     "localname": "OtherSourcesOfRevenuePolicyTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_PaymentForPurchaseOfAnOptionToAcquireLongTermInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment for purchase of an option to acquire long-term investments.",
        "label": "Payment for Purchase of an Option to Acquire Long-term Investments",
        "negatedLabel": "Purchase of an option to acquire long-term investments"
       }
      }
     },
     "localname": "PaymentForPurchaseOfAnOptionToAcquireLongTermInvestments",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_PaymentsForProductFinancingArrangementsNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for product financing arrangements, net.",
        "label": "Payments For Product Financing Arrangements Net",
        "negatedLabel": "Product financing arrangements, net"
       }
      }
     },
     "localname": "PaymentsForProductFinancingArrangementsNet",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_PercentageOfExcessLoanBalanceOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of excess loan balance outstanding.",
        "label": "Percentage Of Excess Loan Balance Outstanding",
        "terseLabel": "Percentage of loan balance outstanding"
       }
      }
     },
     "localname": "PercentageOfExcessLoanBalanceOutstanding",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_PercentageOfLoanToValueRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of loan-to-value ratio.",
        "label": "Percentage Of Loan To Value Ratio",
        "terseLabel": "Percentage of Loan-to-value ratio"
       }
      }
     },
     "localname": "PercentageOfLoanToValueRatio",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_PercentageOfLoansReceivable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage that a balance of a given type of loan receivable is to the total balance outstanding.",
        "label": "Percentage Of Loans Receivable",
        "terseLabel": "Secured loan, percentage"
       }
      }
     },
     "localname": "PercentageOfLoansReceivable",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfClassesForFinancingReceivablesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_PercentageToRemitPartialPaymentOfOrderPrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage to remit partial payment of order price.",
        "label": "Percentage To Remit Partial Payment Of Order Price",
        "terseLabel": "Percentage to remit partial payment of total order price"
       }
      }
     },
     "localname": "PercentageToRemitPartialPaymentOfOrderPrice",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_PhysicalInventoryNetOfPurchasePremiums": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 0.0,
       "parentTag": "amrk_InventorySubjectToPriceRisk",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Physical Inventory Net Of Purchase Premiums",
        "label": "Physical Inventory Net Of Purchase Premiums",
        "totalLabel": "Subtotal"
       }
      }
     },
     "localname": "PhysicalInventoryNetOfPurchasePremiums",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_PinehurstCoinExchangeIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pinehurst coin exchange Inc.",
        "label": "Pinehurst Coin Exchange Inc [Member]",
        "terseLabel": "Pinehurst",
        "verboseLabel": "Pinehurst Coin Exchange, Inc."
       }
      }
     },
     "localname": "PinehurstCoinExchangeIncMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_PlantandEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plant and Equipment [Member]",
        "label": "Plantand Equipment [Member]",
        "terseLabel": "Plant Equipment"
       }
      }
     },
     "localname": "PlantandEquipmentMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_PreciousMetalsHeldUnderFinancingArrangementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Precious Metals Held Under Financing Arrangements [Member]",
        "label": "Precious Metals Held Under Financing Arrangements [Member]",
        "terseLabel": "Precious Metals Held Under Financing Arrangements"
       }
      }
     },
     "localname": "PreciousMetalsHeldUnderFinancingArrangementsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_PreciousMetalsPurchasingPartnersLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Precious Metals Purchasing Partners, LLC [Member]",
        "label": "Precious Metals Purchasing Partners L L C [Member]",
        "terseLabel": "Precious Metals Purchasing Partners, LLC",
        "verboseLabel": "Precious Metals"
       }
      }
     },
     "localname": "PreciousMetalsPurchasingPartnersLLCMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_PriceRange04Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price Range 04 [Member]",
        "label": "Price Range04 [Member]",
        "terseLabel": "Price Range $12.51 - $30.00"
       }
      }
     },
     "localname": "PriceRange04Member",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_PriceRange1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price Range 1 [Member]",
        "label": "Price Range1 [Member]",
        "terseLabel": "Price Range $0 - $5.00"
       }
      }
     },
     "localname": "PriceRange1Member",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_PriceRange2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price Range 2 [Member]",
        "label": "Price Range2 [Member]",
        "terseLabel": "Price Range $5.01 - $7.50"
       }
      }
     },
     "localname": "PriceRange2Member",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_PriceRange3Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price Range 3 [Member]",
        "label": "Price Range3 [Member]",
        "terseLabel": "Price Range $7.51 - $12.50"
       }
      }
     },
     "localname": "PriceRange3Member",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_ProceedsFromRepaymentOfSettlementOnIssuanceOfCommonSharesOnExerciseOfOptions": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from (repayment of ) settlement on issuance of common shares on exercise of options.",
        "label": "Proceeds From Repayment Of Settlement On Issuance Of Common Shares On Exercise Of Options",
        "terseLabel": "Net settlement on issuance of common shares on exercise of options"
       }
      }
     },
     "localname": "ProceedsFromRepaymentOfSettlementOnIssuanceOfCommonSharesOnExerciseOfOptions",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_ProductUnderFinancingArrangement": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product under Financing Arrangement",
        "label": "Product Under Financing Arrangement",
        "terseLabel": "Product financing arrangement, restricted"
       }
      }
     },
     "localname": "ProductUnderFinancingArrangement",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_ProductfinancingarrangementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product financing arrangements [Member]",
        "label": "Productfinancingarrangements [Member]",
        "terseLabel": "Product Financing Arrangements"
       }
      }
     },
     "localname": "ProductfinancingarrangementsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_PurchaseOfDigitalAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase of digital assets",
        "label": "Purchase of Digital Assets",
        "negatedLabel": "Purchase of digital assets",
        "terseLabel": "Purchase of digital assets"
       }
      }
     },
     "localname": "PurchaseOfDigitalAssets",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_RealizedGainsRelatedToSaleOfDigitalAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Realized gains related to sale of digital assets.",
        "label": "Realized Gains Related To Sale Of Digital Assets",
        "terseLabel": "Realized gains related to sale of digital assets"
       }
      }
     },
     "localname": "RealizedGainsRelatedToSaleOfDigitalAssets",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_RedemptionAssociatedWithAcquisitionOfPreexistingEquityMethodInvestment": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Redemption associated with acquisition of pre-existing equity method investment.",
        "label": "Redemption Associated With Acquisition Of PreExisting Equity Method Investment",
        "terseLabel": "Redemption associated with acquisition of pre-existing equity method investment"
       }
      }
     },
     "localname": "RedemptionAssociatedWithAcquisitionOfPreexistingEquityMethodInvestment",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_RefinedSilverLeasedUnderSupplierAgreements": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Refined silver leased under supplier agreements.",
        "label": "Refined Silver Leased Under Supplier Agreements",
        "terseLabel": "Refined silver leased under supplier agreements"
       }
      }
     },
     "localname": "RefinedSilverLeasedUnderSupplierAgreements",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "massItemType"
    },
    "amrk_RemainingSecuritiesAvailableForIssuance": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remaining securities available for issuance.",
        "label": "Remaining Securities Available For Issuance",
        "terseLabel": "Remaining securities available for issuance"
       }
      }
     },
     "localname": "RemainingSecuritiesAvailableForIssuance",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_RepurchaseArrangementsWithCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repurchase Arrangements With Customers [Member]",
        "label": "Repurchase Arrangements With Customers [Member]",
        "terseLabel": "Repurchase Arrangements with Customers"
       }
      }
     },
     "localname": "RepurchaseArrangementsWithCustomersMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_RestrictedAndNonRestrictedInventoryNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 0.0,
       "parentTag": "amrk_InventoryandPreciousMetalHeldUnderFinancingArrangements",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Restricted and Non-Restricted Inventory, Net",
        "label": "Inventories",
        "terseLabel": "Restricted and nonrestricted inventory, net",
        "totalLabel": "Restricted and non-restricted inventory, net",
        "verboseLabel": "Total inventories"
       }
      }
     },
     "localname": "RestrictedAndNonRestrictedInventoryNet",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_RestrictedInventory": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails": {
       "order": 1.0,
       "parentTag": "amrk_RestrictedAndNonRestrictedInventoryNet",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "amrk_RestrictedAndNonRestrictedInventoryNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Restricted Inventory",
        "label": "Restricted Inventory",
        "terseLabel": "Restricted inventories"
       }
      }
     },
     "localname": "RestrictedInventory",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_RetailTradingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Retail Trading [Member]",
        "label": "Retail Trading [Member]",
        "terseLabel": "Direct-to-Consumer"
       }
      }
     },
     "localname": "RetailTradingMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_ScheduleOfAccountsPayableAndOtherCurrentLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of accounts payable and other current liabilities.",
        "label": "Schedule Of Accounts Payable And Other Current Liabilities Table [Text Block]",
        "terseLabel": "Schedule of Accounts Payable and Other Current Liabilities"
       }
      }
     },
     "localname": "ScheduleOfAccountsPayableAndOtherCurrentLiabilitiesTableTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_ScheduleOfClassOfFinancingReceivableTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule Of Class Of Financing Receivable [Table Text Block]",
        "label": "Schedule Of Class Of Financing Receivable Table [Text Block]",
        "terseLabel": "Schedule of Classes for Financing Receivables"
       }
      }
     },
     "localname": "ScheduleOfClassOfFinancingReceivableTableTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_ScheduleOfEquityAndCostMethodInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of equity and cost method investments.",
        "label": "Schedule Of Equity And Cost Method Investments [Line Items]",
        "terseLabel": "Schedule Of Equity And Cost Method Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfEquityAndCostMethodInvestmentsLineItems",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_ScheduleOfEquityAndCostMethodInvestmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of equity and cost method investments.",
        "label": "Schedule Of Equity And Cost Method Investments [Table]",
        "terseLabel": "Schedule Of Equity And Cost Method Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfEquityAndCostMethodInvestmentsTable",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_ScheduleOfFiniteAndIndefiniteLivedIntangibleAssetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Finite And Indefinite-Lived Intangible Assets [Table]",
        "label": "Schedule Of Finite And Indefinite Lived Intangible Assets [Table]",
        "terseLabel": "Schedule Of Finite And Indefinite Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteAndIndefiniteLivedIntangibleAssetsTable",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_ScheduleOfInterestIncomeFromRelatedPartiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of interest income from related parties.",
        "label": "Schedule Of Interest Income From Related Parties Table [Text Block]",
        "terseLabel": "Schedule of Interest Income"
       }
      }
     },
     "localname": "ScheduleOfInterestIncomeFromRelatedPartiesTableTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_ScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of market values of denominated in foreign currencies outstanding.",
        "label": "Schedule Of Market Values Of Denominated In Foreign Currencies Outstanding Table [Text Block]",
        "terseLabel": "Schedule of Market Values of Denominated in Foreign Currencies Outstanding"
       }
      }
     },
     "localname": "ScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingTableTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_ScheduleOfSalesAndPurchasesOfRelatedPartiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of sales and purchases of related parties.",
        "label": "Schedule Of Sales And Purchases Of Related Parties Table [Text Block]",
        "terseLabel": "Schedule of Sales and Purchases of Related Parties"
       }
      }
     },
     "localname": "ScheduleOfSalesAndPurchasesOfRelatedPartiesTableTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_SecuredLendingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured Lending [Member]",
        "label": "Secured Lending [Member]",
        "terseLabel": "Secured Lending"
       }
      }
     },
     "localname": "SecuredLendingMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_SecuredLoansReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured loans receivable.",
        "label": "Secured Loans Receivable [Member]",
        "terseLabel": "Secured Loans"
       }
      }
     },
     "localname": "SecuredLoansReceivableMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_SecuredSeniorTermNotesSeries20181ClassAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured Senior Term Notes, Series 2018-1, Class A [Member]",
        "label": "Secured Senior Term Notes Series20181 Class A [Member]",
        "terseLabel": "Secured Senior Term Notes, Series 2018-1, Class A"
       }
      }
     },
     "localname": "SecuredSeniorTermNotesSeries20181ClassAMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_SecuredSeniorTermNotesSeries20181ClassBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured Senior Term Notes, Series 2018-1, Class B [Member]",
        "label": "Secured Senior Term Notes Series20181 Class B [Member]",
        "terseLabel": "Secured Senior Term Notes, Series 2018-1, Class B"
       }
      }
     },
     "localname": "SecuredSeniorTermNotesSeries20181ClassBMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_SellingShareholdersOfPinehurstCoinExchangeIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Selling shareholders of Pinehurst Coin Exchange Inc.",
        "label": "Selling Shareholders of Pinehurst Coin Exchange Inc [Member]",
        "terseLabel": "Selling Shareholders of Pinehurst Coin Exchange, Inc."
       }
      }
     },
     "localname": "SellingShareholdersOfPinehurstCoinExchangeIncMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_SellingShareholdersOfSilverGoldBullIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Selling shareholders of Silver Gold Bull Inc.",
        "label": "Selling Shareholders of Silver Gold Bull Inc [Member]",
        "terseLabel": "Selling Shareholders of Silver Gold Bull, Inc."
       }
      }
     },
     "localname": "SellingShareholdersOfSilverGoldBullIncMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndNonvestedNumber": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award, equity instruments other than options, vested and nonvested number.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested And Nonvested Number",
        "terseLabel": "Awards Outstanding, Vested and nonvested outstanding",
        "totalLabel": "Awards Outstanding, Vested and nonvested outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndNonvestedNumber",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndNonvestedNumberWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award, equity instruments other than options, vested and nonvested number, weighted average grant date fair value.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested And Nonvested Number Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Fair Value per Unit at Grant Date, Vested and nonvested outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndNonvestedNumberWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedButSubjectToDeferredSettlementInPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options vested but subject to deferred settlement in period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested But Subject to Deferred Settlement In Period",
        "negatedLabel": "Awards, Outstanding, Vested but subject to deferred settlement"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedButSubjectToDeferredSettlementInPeriod",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedButSubjectToDeferredSettlementInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options vested but subject to deferred settlement in period weighted average grant date fair value.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested But Subject to Deferred Settlement In Period Weighted Average Grant Date Fair Value",
        "negatedLabel": "Weighted Average Fair Value per Unit at Grant Date, Vested but subject to deferred settlement",
        "terseLabel": "Weighted Average Fair Value per Unit at Grant Date, Vested but subject to deferred settlement"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedButSubjectToDeferredSettlementInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedDeliveredToHolderInPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options vested delivered to holder in period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested Delivered to Holder In Period",
        "negatedLabel": "Awards Outstanding, Vested delivered to the holder"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedDeliveredToHolderInPeriod",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedDeliveredToHolderInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options vested delivered to holder in period weighted average grant date fair value.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested Delivered to Holder In Period Weighted Average Grant Date Fair Value",
        "negatedLabel": "Weighted Average Fair Value per Unit at Grant Date, Vested delivered to the holder",
        "terseLabel": "Weighted Average Fair Value per Unit at Grant Date, Vested delivered to the holder"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedDeliveredToHolderInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsVestedButSubjectToDeferredSettlementWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award non option equity instruments vested but subject to deferred settlement weighted average grant date fair value.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Vested But Subject To Deferred Settlement Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Fair Value per Unit at Grant Date, Vested but subject to deferred settlement"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsVestedButSubjectToDeferredSettlementWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Grant Date Fair Value",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Grant Date Fair Value Per Award, Exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Grant Date Fair Value",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Grant Date Fair Value Per Award, Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardVestedButSubjectToDeferredSettlementNumber": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails": {
       "order": 1.0,
       "parentTag": "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndNonvestedNumber",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award vested but subject to deferred settlement number.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Vested But Subject To Deferred Settlement Number",
        "terseLabel": "Awards Outstanding, Vested but subject to deferred settlement",
        "totalLabel": "Share Based Compensation Arrangement By Share Based Payment Award Vested But Subject To Deferred Settlement Number, Total"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardVestedButSubjectToDeferredSettlementNumber",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "amrk_ShippingAndHandlingPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shipping and handling.",
        "label": "Shipping And Handling Policy [Text Block]",
        "terseLabel": "Shipping and Handling Costs"
       }
      }
     },
     "localname": "ShippingAndHandlingPolicyTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_SilverGoldBullIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Silver Gold Bull Inc.",
        "label": "Silver Gold Bull Inc [Member]",
        "terseLabel": "Silver Gold Bull, Inc."
       }
      }
     },
     "localname": "SilverGoldBullIncMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_SilverTowneLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Silver Towne LP [Member]",
        "label": "Silver Towne L P [Member]",
        "terseLabel": "SilverTowne L.P."
       }
      }
     },
     "localname": "SilverTowneLPMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfSalesAndPurchasesOfRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_SilverTowneMintMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SilverTowne Mint [Member]",
        "label": "Silver Towne Mint [Member]",
        "terseLabel": "SilverTowne Mint"
       }
      }
     },
     "localname": "SilverTowneMintMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_SofrInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SOFR interest rate.",
        "label": "SOFR Interest Rate",
        "terseLabel": "Credit facility, interest rate at period end"
       }
      }
     },
     "localname": "SofrInterestRate",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_SpecialDividendMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Special dividend.",
        "label": "Special Dividend [Member]",
        "terseLabel": "Special Dividend"
       }
      }
     },
     "localname": "SpecialDividendMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_StockAwardProgramMaximumAmountofGrantFairValuePerGranteePerYear": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock Award Program, Maximum Amount of Grant Per Year",
        "label": "Stock Award Program Maximum Amountof Grant Fair Value Per Grantee Per Year",
        "terseLabel": "Maximum grant date fair value"
       }
      }
     },
     "localname": "StockAwardProgramMaximumAmountofGrantFairValuePerGranteePerYear",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_StockAwardProgramMaximumNumberOfSharesAuthorizedToBeGrantedForEligiblePersonPerYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock award program, maximum number of shares authorized to be granted for eligible person per year.",
        "label": "Stock Award Program Maximum Number Of Shares Authorized To Be Granted For Eligible Person Per Year",
        "terseLabel": "Maximum amount of shares per employee (shares)"
       }
      }
     },
     "localname": "StockAwardProgramMaximumNumberOfSharesAuthorizedToBeGrantedForEligiblePersonPerYear",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "amrk_StockSplitInTheFormOfADividendPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock split in the form of a dividend.",
        "label": "Stock Split In The Form Of A Dividend [Policy Text Block]",
        "terseLabel": "Stock Split in the Form of a Dividend"
       }
      }
     },
     "localname": "StockSplitInTheFormOfADividendPolicyTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_SummaryOfOffsettingAssetsAndLiabilityDerivativeInstrumentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of offsetting assets and liability derivative instruments.",
        "label": "Summary Of Offsetting Assets And Liability Derivative Instruments Table [Text Block]",
        "terseLabel": "Summary of Aggregate Gross and Net Derivative Receivables and Payables Balances"
       }
      }
     },
     "localname": "SummaryOfOffsettingAssetsAndLiabilityDerivativeInstrumentsTableTextBlock",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "amrk_SummaryOfSignificantAccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of significant accounting policies.",
        "label": "Summary Of Significant Accounting Policies [Line Items]",
        "terseLabel": "Summary Of Significant Accounting Policies [Line Items]"
       }
      }
     },
     "localname": "SummaryOfSignificantAccountingPoliciesLineItems",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_SummaryOfSignificantAccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of significant accounting policies.",
        "label": "Summary Of Significant Accounting Policies [Table]",
        "terseLabel": "Summary Of Significant Accounting Policies [Table]"
       }
      }
     },
     "localname": "SummaryOfSignificantAccountingPoliciesTable",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_SunshineMintingIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sunshine Minting, Inc.",
        "label": "Sunshine Minting, Inc [Member]",
        "terseLabel": "Sunshine Minting, Inc."
       }
      }
     },
     "localname": "SunshineMintingIncMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_ThirdPartyProductFinancingArrangementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Third party product financing arrangements.",
        "label": "Third Party Product Financing Arrangements [Member]",
        "terseLabel": "Third Party Product Financing Arrangements"
       }
      }
     },
     "localname": "ThirdPartyProductFinancingArrangementsMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsProductFinancingArrangementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_TradePayableToCustomersAndConsignorPayablesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "amrk_AccountsPayableAndOtherCurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trade payable to customers and consignor payables, Current",
        "label": "Trade Payable To Customers And Consignor Payables Current",
        "terseLabel": "Trade payables to customers"
       }
      }
     },
     "localname": "TradePayableToCustomersAndConsignorPayablesCurrent",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_TradingCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading Credit Facility [Member]",
        "label": "Trading Credit Facility [Member]",
        "terseLabel": "Trading Credit Facility"
       }
      }
     },
     "localname": "TradingCreditFacilityMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_USMintMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "U.S. Mint.",
        "label": "U.S. Mint [Member]",
        "terseLabel": "U.S. Mint"
       }
      }
     },
     "localname": "USMintMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_UnhedgablePremiumsOnOpenCommitmentPositions": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 4.0,
       "parentTag": "amrk_CommitmentAtMarket",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unhedgable Premiums On Open Commitment Positions",
        "label": "Unhedgable Premiums On Open Commitment Positions",
        "terseLabel": "Unhedgeable premiums on open commitment positions"
       }
      }
     },
     "localname": "UnhedgablePremiumsOnOpenCommitmentPositions",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "amrk_UnpricedMetalIsSubjectToMarginCallIfDepositFallsBelowPercentageOfValueOfUnpricedMetal": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpriced metal is subject to margin call If deposit falls below percentage of value of unpriced metal.",
        "label": "Unpriced Metal Is Subject To Margin Call If Deposit Falls Below Percentage Of Value Of Unpriced Metal",
        "terseLabel": "Unpriced metal is subject to margin call If deposit falls below percentage of value of unpriced metal"
       }
      }
     },
     "localname": "UnpricedMetalIsSubjectToMarginCallIfDepositFallsBelowPercentageOfValueOfUnpricedMetal",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "amrk_WeightedAverageSharesOutstandingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average shares outstanding [Abstract]",
        "label": "Weighted Average Shares Outstanding [Abstract]",
        "terseLabel": "Weighted average shares outstanding:"
       }
      }
     },
     "localname": "WeightedAverageSharesOutstandingAbstract",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "amrk_WholesaleSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholesale sales.",
        "label": "Wholesale Sales [Member]",
        "terseLabel": "Wholesale Sales &amp; Ancillary Services"
       }
      }
     },
     "localname": "WholesaleSalesMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_WholesaleTradeAdvancesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholesale Trade Advances [Member]",
        "label": "Wholesale Trade Advances [Member]",
        "terseLabel": "Wholesale Trade Advances"
       }
      }
     },
     "localname": "WholesaleTradeAdvancesMember",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesScheduleOfReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "amrk_WriteDownOfDigitalAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Write-down of digital assets.",
        "label": "Write-down of Digital Assets",
        "terseLabel": "Write-down of digital assets"
       }
      }
     },
     "localname": "WriteDownOfDigitalAssets",
     "nsuri": "http://www.amark.com/20220630",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "country_AU": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AUSTRALIA",
        "terseLabel": "Australia"
       }
      }
     },
     "localname": "AU",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "country_US": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED STATES",
        "terseLabel": "United States"
       }
      }
     },
     "localname": "US",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r804",
      "r805",
      "r806"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r804",
      "r805",
      "r806"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r804",
      "r805",
      "r806"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r804",
      "r805",
      "r806"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r807"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_DocumentsIncorporatedByReferenceTextBlock": {
     "auth_ref": [
      "r802"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Documents incorporated by reference.",
        "label": "Documents Incorporated by Reference [Text Block]",
        "terseLabel": "Documents Incorporated By Reference"
       }
      }
     },
     "localname": "DocumentsIncorporatedByReferenceTextBlock",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two",
        "terseLabel": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r801"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "verboseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]",
        "terseLabel": "Entity"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r801"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r801"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r818"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityPublicFloat": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
        "label": "Entity Public Float"
       }
      }
     },
     "localname": "EntityPublicFloat",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r801"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r801"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r801"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r801"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r819"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r804",
      "r805",
      "r806"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r800"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r803"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "verboseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_AffiliatedEntityMember": {
     "auth_ref": [
      "r384",
      "r641",
      "r642",
      "r645",
      "r797"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Affiliated Entity [Member]",
        "terseLabel": "Affiliated entities"
       }
      }
     },
     "localname": "AffiliatedEntityMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_AfricaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Africa [Member]",
        "terseLabel": "Africa"
       }
      }
     },
     "localname": "AfricaMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_AsiaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asia [Member]",
        "terseLabel": "Asia"
       }
      }
     },
     "localname": "AsiaMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_AsiaPacificMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asia Pacific [Member]",
        "terseLabel": "Asia Pacific"
       }
      }
     },
     "localname": "AsiaPacificMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_BoardOfDirectorsChairmanMember": {
     "auth_ref": [
      "r210"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Board of Directors Chairman [Member]",
        "terseLabel": "Non-employee Chairman of Board"
       }
      }
     },
     "localname": "BoardOfDirectorsChairmanMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r125",
      "r306",
      "r311",
      "r319",
      "r518",
      "r519",
      "r527",
      "r528",
      "r648",
      "r797"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Axis]",
        "terseLabel": "Consolidated Entities"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r125",
      "r306",
      "r311",
      "r319",
      "r518",
      "r519",
      "r527",
      "r528",
      "r648",
      "r797"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Domain]",
        "terseLabel": "Consolidated Entities"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidationItemsAxis": {
     "auth_ref": [
      "r125",
      "r178",
      "r191",
      "r192",
      "r193",
      "r194",
      "r196",
      "r198",
      "r202",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r313",
      "r314",
      "r316",
      "r318",
      "r319"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Axis]",
        "terseLabel": "Consolidation Items"
       }
      }
     },
     "localname": "ConsolidationItemsAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidationItemsDomain": {
     "auth_ref": [
      "r125",
      "r178",
      "r191",
      "r192",
      "r193",
      "r194",
      "r196",
      "r198",
      "r202",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r313",
      "r314",
      "r316",
      "r318",
      "r319"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Domain]",
        "terseLabel": "Consolidation Items"
       }
      }
     },
     "localname": "ConsolidationItemsDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [
      "r58",
      "r61",
      "r122",
      "r123",
      "r325",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]",
        "terseLabel": "Counterparty Name"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_DirectorMember": {
     "auth_ref": [
      "r210"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Director [Member]",
        "terseLabel": "Director"
       }
      }
     },
     "localname": "DirectorMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Domain]",
        "terseLabel": "Investment, Name"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_EuropeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Europe [Member]",
        "terseLabel": "Europe"
       }
      }
     },
     "localname": "EuropeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r208",
      "r371",
      "r374",
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]",
        "terseLabel": "Customer"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r299",
      "r300",
      "r301",
      "r302",
      "r324",
      "r357",
      "r389",
      "r392",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r687",
      "r752",
      "r756",
      "r798",
      "r799"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r299",
      "r300",
      "r301",
      "r302",
      "r324",
      "r357",
      "r389",
      "r392",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r687",
      "r752",
      "r756",
      "r798",
      "r799"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [
      "r208",
      "r371",
      "r374",
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]",
        "terseLabel": "Customer"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Axis]",
        "terseLabel": "Ownership"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Domain]",
        "terseLabel": "Ownership"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r204",
      "r300",
      "r301",
      "r371",
      "r372",
      "r692",
      "r751",
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r204",
      "r300",
      "r301",
      "r371",
      "r372",
      "r692",
      "r751",
      "r753"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r292",
      "r299",
      "r300",
      "r301",
      "r302",
      "r324",
      "r357",
      "r376",
      "r389",
      "r392",
      "r428",
      "r429",
      "r430",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r687",
      "r752",
      "r756",
      "r798",
      "r799"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r292",
      "r299",
      "r300",
      "r301",
      "r302",
      "r324",
      "r357",
      "r376",
      "r389",
      "r392",
      "r428",
      "r429",
      "r430",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r687",
      "r752",
      "r756",
      "r798",
      "r799"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [
      "r60",
      "r61",
      "r122",
      "r123",
      "r325",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Domain]",
        "terseLabel": "Counterparty Name"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r136",
      "r142",
      "r298",
      "r390"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r230"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Axis]",
        "terseLabel": "Investment, Name"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r205",
      "r206",
      "r371",
      "r373",
      "r754",
      "r788",
      "r789",
      "r790",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r796"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Domain]",
        "terseLabel": "Geographical"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r205",
      "r206",
      "r371",
      "r373",
      "r754",
      "r781",
      "r788",
      "r789",
      "r790",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r796"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Axis]",
        "terseLabel": "Geographical"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r136",
      "r142",
      "r298",
      "r390",
      "r654"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r210",
      "r644"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Axis]",
        "terseLabel": "Title of Individual"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Domain]",
        "terseLabel": "Title of Individual"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Accounts, Notes, Loans and Financing Receivable [Line Items]",
        "terseLabel": "Accounts, Notes, Loans and Financing Receivable [Line Items]"
       }
      }
     },
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesScheduleOfReceivablesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfClassesForFinancingReceivablesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableSummaryOfCarryingValueOfSecuredLoansDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis": {
     "auth_ref": [
      "r53"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of receivable.",
        "label": "Receivable Type [Axis]",
        "terseLabel": "Receivable Type"
       }
      }
     },
     "localname": "AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesScheduleOfReceivablesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableOtherCurrent": {
     "auth_ref": [
      "r39"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "amrk_AccountsPayableAndOtherCurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligations incurred classified as other, payable within one year or the normal operating cycle, if longer.",
        "label": "Accounts Payable, Other, Current",
        "terseLabel": "Other accounts payable"
       }
      }
     },
     "localname": "AccountsPayableOtherCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableMember": {
     "auth_ref": [
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Due from customers or clients for goods or services that have been delivered or sold.",
        "label": "Accounts Receivable [Member]",
        "terseLabel": "Accounts Receivable"
       }
      }
     },
     "localname": "AccountsReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsReceivableNet": {
     "auth_ref": [
      "r734",
      "r782"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business.",
        "label": "Accounts Receivable, after Allowance for Credit Loss",
        "totalLabel": "Accounts Receivable, after Allowance for Credit Loss, Total",
        "verboseLabel": "Accounts receivable, net"
       }
      }
     },
     "localname": "AccountsReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r211",
      "r212"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "terseLabel": "Receivables, net",
        "totalLabel": "Accounts Receivable, after Allowance for Credit Loss, Current, Total",
        "verboseLabel": "Receivables, net"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesScheduleOfReceivablesDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r45"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Liabilities, Current",
        "terseLabel": "Accrued liabilities",
        "totalLabel": "Accrued Liabilities, Current, Total"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedAmortizationOfDebtIssuanceCostsLineOfCreditArrangements": {
     "auth_ref": [
      "r615"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated amortization of debt issuance costs related to line of credit arrangements.",
        "label": "Accumulated Amortization of Debt Issuance Costs, Line of Credit Arrangements",
        "terseLabel": "Accumulated amortization of loan cost"
       }
      }
     },
     "localname": "AccumulatedAmortizationOfDebtIssuanceCostsLineOfCreditArrangements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r15",
      "r288"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "negatedLabel": "Less: Accumulated depreciation and amortization",
        "periodEndLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Ending Balance",
        "periodStartLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Beginning Balance",
        "totalLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "auth_ref": [
      "r29"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
        "label": "Additional Paid in Capital, Common Stock",
        "terseLabel": "Additional paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r127",
      "r128",
      "r129",
      "r437",
      "r438",
      "r439",
      "r567"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid-in Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r394",
      "r441",
      "r442"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
        "label": "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition",
        "terseLabel": "Share-based compensation",
        "totalLabel": "APIC, Share-based Payment Arrangement, Increase for Cost Recognition, Total"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash (used in) provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdvertisingCostsPolicyTextBlock": {
     "auth_ref": [
      "r445"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for advertising cost.",
        "label": "Advertising Cost [Policy Text Block]",
        "terseLabel": "Advertising"
       }
      }
     },
     "localname": "AdvertisingCostsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AdvertisingExpense": {
     "auth_ref": [
      "r446"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line.",
        "label": "Advertising Expense",
        "negatedLabel": "Advertising expense",
        "terseLabel": "Advertising costs"
       }
      }
     },
     "localname": "AdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r433"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-Based Payment Arrangement, Expense",
        "terseLabel": "Share-based payment arrangement, expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r76",
      "r99",
      "r344",
      "r612"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs.",
        "label": "Amortization of Debt Issuance Costs",
        "terseLabel": "Amortization of loan cost",
        "verboseLabel": "Amortization of debt issuance costs"
       }
      }
     },
     "localname": "AmortizationOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r99",
      "r273",
      "r281"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "totalLabel": "Amortization of Intangible Assets, Total",
        "verboseLabel": "Amortization expense related to intangible assets"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetUnderConstructionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset in process of being built.",
        "label": "Asset under Construction [Member]",
        "terseLabel": "Property and Equipment not Placed in Service"
       }
      }
     },
     "localname": "AssetUnderConstructionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r19",
      "r116",
      "r186",
      "r193",
      "r200",
      "r233",
      "r306",
      "r307",
      "r308",
      "r310",
      "r311",
      "r312",
      "r313",
      "r315",
      "r317",
      "r319",
      "r320",
      "r518",
      "r527",
      "r589",
      "r649",
      "r651",
      "r711",
      "r735"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "terseLabel": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS",
        "verboseLabel": "ASSETS OF THE CONSOLIDATED VIE"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r9",
      "r38",
      "r116",
      "r233",
      "r306",
      "r307",
      "r308",
      "r310",
      "r311",
      "r312",
      "r313",
      "r315",
      "r317",
      "r319",
      "r320",
      "r518",
      "r527",
      "r589",
      "r649",
      "r651"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "terseLabel": "Current assets:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r572"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "totalLabel": "Total assets, valued at fair value"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r397",
      "r398",
      "r399",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r419",
      "r420",
      "r422",
      "r423",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]",
        "terseLabel": "Balance Sheet Location"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r542",
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]",
        "terseLabel": "Balance Sheet Location"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BuildingMember": {
     "auth_ref": [
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Facility held for productive use including, but not limited to, office, production, storage and distribution facilities.",
        "label": "Building [Member]",
        "terseLabel": "Building"
       }
      }
     },
     "localname": "BuildingMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r388",
      "r391",
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r388",
      "r391",
      "r498",
      "r499",
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued": {
     "auth_ref": [
      "r514"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of equity interests issued or issuable to acquire entity.",
        "label": "Business Acquisition, Equity Interest Issued or Issuable, Number of Shares",
        "terseLabel": "Common stock issued shares, acquisitions",
        "verboseLabel": "Business acquisition, common stock shares issued"
       }
      }
     },
     "localname": "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired": {
     "auth_ref": [
      "r495"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of voting equity interests acquired at the acquisition date in the business combination.",
        "label": "Business Acquisition, Percentage of Voting Interests Acquired",
        "terseLabel": "Business acquisition, percentage of interests acquired"
       }
      }
     },
     "localname": "BusinessAcquisitionPercentageOfVotingInterestsAcquired",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferred1": {
     "auth_ref": [
      "r510",
      "r511",
      "r512"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer.",
        "label": "Business Combination, Consideration Transferred",
        "terseLabel": "Independent third-party valuation",
        "totalLabel": "Business Combination, Consideration Transferred, Total",
        "verboseLabel": "Purchase price of agreement"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferred1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r500"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of intangible assets, excluding goodwill, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill",
        "totalLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill, Total",
        "verboseLabel": "Intangibles acquired"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsRevenuesAndGainsRecognized": {
     "auth_ref": [
      "r496"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The revenues and gains recognized recorded for each transaction with the acquiree that is recognized separately from the acquisition of assets and assumptions of liabilities in the business combination.",
        "label": "Business Combination, Separately Recognized Transactions, Revenues and Gains Recognized",
        "terseLabel": "Recognized gain on intangible asset and goodwill"
       }
      }
     },
     "localname": "BusinessCombinationSeparatelyRecognizedTransactionsRevenuesAndGainsRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain": {
     "auth_ref": [
      "r497"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 7.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "In a business combination achieved in stages, this element represents the amount of gain recognized by the entity as a result of remeasuring to fair value the equity interest in the acquiree it held before the business combination.",
        "label": "Business Combination, Step Acquisition, Equity Interest in Acquiree, Remeasurement Gain",
        "negatedLabel": "Remeasurement gain on pre-existing equity method investment",
        "terseLabel": "Remeasurement gain on pre-existing equity interest"
       }
      }
     },
     "localname": "BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationsPolicy": {
     "auth_ref": [
      "r494"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for completed business combinations (purchase method, acquisition method or combination of entities under common control). This accounting policy may include a general discussion of the purchase method or acquisition method of accounting (including for example, the treatment accorded contingent consideration, the identification of assets and liabilities, the purchase price allocation process, how the fair values of acquired assets and liabilities are determined) and the entity's specific application thereof. An entity that acquires another entity in a leveraged buyout transaction generally discloses the accounting policy followed by the acquiring entity in determining the basis used to value its interest in the acquired entity, and the rationale for that accounting policy.",
        "label": "Business Combinations Policy [Policy Text Block]",
        "terseLabel": "Business Combination"
       }
      }
     },
     "localname": "BusinessCombinationsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock": {
     "auth_ref": [
      "r7",
      "r126",
      "r172"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the business description and basis of presentation concepts. Business description describes the nature and type of organization including but not limited to organizational structure as may be applicable to holding companies, parent and subsidiary relationships, business divisions, business units, business segments, affiliates and information about significant ownership of the reporting entity. Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Business Description and Basis of Presentation [Text Block]",
        "terseLabel": "Description of Business"
       }
      }
     },
     "localname": "BusinessDescriptionAndBasisOfPresentationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusiness"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r584",
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as reported on the statement of financial position (balance sheet).",
        "label": "Reported Value Measurement [Member]",
        "terseLabel": "Carrying Amount"
       }
      }
     },
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfCarryingAmountsAndEstimatedFairValueOfFixedRateNotesPayableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r104"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r94",
      "r101",
      "r107"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "periodEndLabel": "Cash, cash equivalents, and restricted cash, end of period",
        "periodStartLabel": "Cash, cash equivalents, and restricted cash, beginning of period",
        "terseLabel": "Cash",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Total"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r94",
      "r598"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "Net (decrease) increase in cash, cash equivalents, and restricted cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted": {
     "auth_ref": [
      "r0",
      "r1",
      "r130",
      "r218",
      "r219",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r479",
      "r507",
      "r508",
      "r560",
      "r563",
      "r564",
      "r570",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r607",
      "r616",
      "r617",
      "r618",
      "r619",
      "r636",
      "r637",
      "r694",
      "r695",
      "r757",
      "r758"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether accounting standards update was adopted.",
        "label": "Change in Accounting Principle, Accounting Standards Update, Adopted [true false]",
        "terseLabel": "Change in accounting principle, accounting standards update, adopted [true false]"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleAccountingStandardsUpdateAdopted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate": {
     "auth_ref": [
      "r0",
      "r1",
      "r135",
      "r218",
      "r219",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r479",
      "r507",
      "r508",
      "r509",
      "r560",
      "r563",
      "r564",
      "r565",
      "r566",
      "r570",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r607",
      "r616",
      "r617",
      "r618",
      "r619",
      "r636",
      "r637",
      "r694",
      "r695",
      "r757",
      "r758"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date accounting standards update was adopted, in YYYY-MM-DD format.",
        "label": "Change in Accounting Principle, Accounting Standards Update, Adoption Date",
        "terseLabel": "Change in accounting principle, accounting standards update, adoption date"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect": {
     "auth_ref": [
      "r131",
      "r141",
      "r220",
      "r241",
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether effect from applying amendment to accounting standards is immaterial.",
        "label": "Change in Accounting Principle, Accounting Standards Update, Immaterial Effect [true false]",
        "terseLabel": "Change in accounting principle, accounting standards update, immaterial effect [true false]"
       }
      }
     },
     "localname": "ChangeInAccountingPrincipleAccountingStandardsUpdateImmaterialEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r51",
      "r721",
      "r741"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r295",
      "r296",
      "r297",
      "r303",
      "r784"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommodityContractMember": {
     "auth_ref": [
      "r377",
      "r551"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to commodity prices.",
        "label": "Commodity Contract [Member]",
        "terseLabel": "Commodity Contract"
       }
      }
     },
     "localname": "CommodityContractMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "auth_ref": [
      "r365"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding.",
        "label": "Common Stock, Dividends, Per Share, Declared",
        "terseLabel": "Dividends declared, per common share",
        "verboseLabel": "Dividends declared, per common share"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareDeclared",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquityParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r127",
      "r128",
      "r567"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r26"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r26"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r26"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, shares issued",
        "totalLabel": "Common Stock, Shares, Issued, Total",
        "verboseLabel": "Additional shares of common stock issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r26",
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "periodEndLabel": "Ending balance (shares)",
        "periodStartLabel": "Beginning balance (shares)",
        "terseLabel": "Common stock, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r26",
      "r651"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Common stock, par value $0.01; 40,000,000 shares authorized; 23,379,888 and 22,459,314 shares issued and outstanding as of June 30, 2022 and June 30, 2021, respectively"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for comprehensive income.",
        "label": "Comprehensive Income, Policy [Policy Text Block]",
        "terseLabel": "Comprehensive Income"
       }
      }
     },
     "localname": "ComprehensiveIncomePolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ComputerEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long lived, depreciable assets that are used in the creation, maintenance and utilization of information systems.",
        "label": "Computer Equipment [Member]",
        "terseLabel": "Computer Equipment"
       }
      }
     },
     "localname": "ComputerEquipmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r166",
      "r167",
      "r208",
      "r586",
      "r587",
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r166",
      "r167",
      "r208",
      "r586",
      "r587",
      "r764",
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]",
        "terseLabel": "Concentration Risk Benchmark"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r166",
      "r167",
      "r208",
      "r586",
      "r587",
      "r764",
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]",
        "terseLabel": "Concentration Risk Type"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskCreditRisk": {
     "auth_ref": [
      "r161",
      "r731"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for credit risk.",
        "label": "Concentration Risk, Credit Risk, Policy [Policy Text Block]",
        "terseLabel": "Concentration of Credit Risk"
       }
      }
     },
     "localname": "ConcentrationRiskCreditRisk",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskDisclosureTextBlock": {
     "auth_ref": [
      "r172"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for any concentrations existing at the date of the financial statements that make an entity vulnerable to a reasonably possible, near-term, severe impact. This disclosure informs financial statement users about the general nature of the risk associated with the concentration, and may indicate the percentage of concentration risk as of the balance sheet date.",
        "label": "Concentration Risk Disclosure [Text Block]",
        "terseLabel": "Customer and Supplier Concentrations"
       }
      }
     },
     "localname": "ConcentrationRiskDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Concentration Risk [Line Items]",
        "terseLabel": "Concentration Risk [Line Items]"
       }
      }
     },
     "localname": "ConcentrationRiskLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r166",
      "r167",
      "r208",
      "r586",
      "r587"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Concentration risk, percentage"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTable": {
     "auth_ref": [
      "r164",
      "r166",
      "r167",
      "r168",
      "r586",
      "r588",
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Concentration Risk [Table]",
        "terseLabel": "Concentration Risk [Table]"
       }
      }
     },
     "localname": "ConcentrationRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r166",
      "r167",
      "r208",
      "r586",
      "r587",
      "r783"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]",
        "terseLabel": "Concentration Risk Type"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r109",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Principles of Consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConsolidationVariableInterestEntityPolicy": {
     "auth_ref": [
      "r526",
      "r530",
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for consolidation to describe the significant judgments and assumptions made in determining whether a variable interest held by the entity requires the variable interest entity to be consolidated and (or) disclose information about its involvement with the variable interest entity; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; and the significant factors considered and judgments made in determining that the power to direct the activities that significantly impact the economic performance of the variable interest entity are shared (as defined).",
        "label": "Consolidation, Variable Interest Entity, Policy [Policy Text Block]",
        "terseLabel": "Variable Interest Entity"
       }
      }
     },
     "localname": "ConsolidationVariableInterestEntityPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CostOfGoodsAndServicesSold": {
     "auth_ref": [
      "r80",
      "r692"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Cost of Goods and Services Sold",
        "terseLabel": "Cost of sales",
        "totalLabel": "Cost of Goods and Services Sold, Total"
       }
      }
     },
     "localname": "CostOfGoodsAndServicesSold",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CreditFacilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Axis]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Domain]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditLossStatusAxis": {
     "auth_ref": [
      "r222",
      "r252",
      "r257"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by credit loss status of financial asset.",
        "label": "Credit Loss Status [Axis]",
        "terseLabel": "Credit Loss Status"
       }
      }
     },
     "localname": "CreditLossStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableSummaryOfCarryingValueOfSecuredLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditLossStatusDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit loss status of financial asset.",
        "label": "Credit Loss Status [Domain]",
        "terseLabel": "Credit Loss Status"
       }
      }
     },
     "localname": "CreditLossStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableSummaryOfCarryingValueOfSecuredLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Federal, State and Local, Tax Expense (Benefit) [Abstract]",
        "terseLabel": "Current:"
       }
      }
     },
     "localname": "CurrentFederalStateAndLocalTaxExpenseBenefitAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CurrentFederalTaxExpenseBenefit": {
     "auth_ref": [
      "r117",
      "r475",
      "r485"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_CurrentIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current national tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Current Federal Tax Expense (Benefit)",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "CurrentFederalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentForeignTaxExpenseBenefit": {
     "auth_ref": [
      "r117",
      "r475"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_CurrentIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current foreign income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Current Foreign Tax Expense (Benefit)",
        "terseLabel": "Foreign"
       }
      }
     },
     "localname": "CurrentForeignTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r117",
      "r475",
      "r485",
      "r487"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations.",
        "label": "Current Income Tax Expense (Benefit)",
        "totalLabel": "Total current income tax expense (benefit)"
       }
      }
     },
     "localname": "CurrentIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentStateAndLocalTaxExpenseBenefit": {
     "auth_ref": [
      "r117",
      "r475",
      "r485"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_CurrentIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current state and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, current regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Current State and Local Tax Expense (Benefit)",
        "terseLabel": "State and local"
       }
      }
     },
     "localname": "CurrentStateAndLocalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CustomerConcentrationRiskMember": {
     "auth_ref": [
      "r165",
      "r208"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues. The risk is the materially adverse effects of loss of a significant customer.",
        "label": "Customer Concentration Risk [Member]",
        "terseLabel": "Customer Concentrations"
       }
      }
     },
     "localname": "CustomerConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CustomerRelationshipsMember": {
     "auth_ref": [
      "r504"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships.",
        "label": "Customer Relationships [Member]",
        "terseLabel": "Customer Relationships"
       }
      }
     },
     "localname": "CustomerRelationshipsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r114",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r338",
      "r345",
      "r346",
      "r348",
      "r355"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Financing Agreements"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r20",
      "r21",
      "r22",
      "r115",
      "r125",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r328",
      "r334",
      "r335",
      "r336",
      "r337",
      "r339",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r351",
      "r352",
      "r353",
      "r354",
      "r613",
      "r712",
      "r714",
      "r733"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentDescriptionOfVariableRateBasis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of reference rate used for variable rate of debt instrument.",
        "label": "Debt Instrument, Description of Variable Rate Basis",
        "terseLabel": "Variable rate basis"
       }
      }
     },
     "localname": "DebtInstrumentDescriptionOfVariableRateBasis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r321",
      "r351",
      "r352",
      "r611",
      "r613",
      "r614"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Debt instrument, face amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateDuringPeriod": {
     "auth_ref": [
      "r47",
      "r341",
      "r611"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average effective interest rate during the reporting period.",
        "label": "Debt Instrument, Interest Rate During Period",
        "terseLabel": "Effective rate of interest"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "auth_ref": [
      "r47",
      "r349",
      "r611",
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.",
        "label": "Debt Instrument, Interest Rate, Effective Percentage",
        "terseLabel": "Weighted average effective interest rate (in percentage)"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateIncreaseDecrease": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incremental percentage increase (decrease) in the stated rate on a debt instrument.",
        "label": "Debt Instrument, Interest Rate, Increase (Decrease)",
        "terseLabel": "Applicable margin of basis points"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r47",
      "r322"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Stated interest rate (in percentage)"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsProductFinancingArrangementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "auth_ref": [
      "r48",
      "r324",
      "r576"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format.",
        "label": "Debt Instrument, Maturity Date",
        "terseLabel": "Debt instrument, maturity date"
       }
      }
     },
     "localname": "DebtInstrumentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r49",
      "r115",
      "r125",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r328",
      "r334",
      "r335",
      "r336",
      "r337",
      "r339",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r351",
      "r352",
      "r353",
      "r354",
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r49",
      "r115",
      "r125",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r328",
      "r334",
      "r335",
      "r336",
      "r337",
      "r339",
      "r340",
      "r341",
      "r342",
      "r343",
      "r344",
      "r347",
      "r351",
      "r352",
      "r353",
      "r354",
      "r361",
      "r362",
      "r363",
      "r364",
      "r610",
      "r611",
      "r613",
      "r614",
      "r730"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "terseLabel": "Debt Instrument [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsProductFinancingArrangementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Instrument, Term",
        "terseLabel": "Line of credit facility term"
       }
      }
     },
     "localname": "DebtInstrumentTerm",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r334",
      "r610",
      "r614"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "terseLabel": "Unamortized discount",
        "totalLabel": "Debt Instrument, Unamortized Discount, Total"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtPolicyTextBlock": {
     "auth_ref": [
      "r304"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy related to debt. Includes, but is not limited to, debt issuance costs, the effects of refinancings, method of amortizing debt issuance costs and original issue discount, and classifications of debt.",
        "label": "Debt, Policy [Policy Text Block]",
        "terseLabel": "Amortization of Debt Issuance Costs"
       }
      }
     },
     "localname": "DebtPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredFederalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r117",
      "r476",
      "r485"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred federal tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, deferred national tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Deferred Federal Income Tax Expense (Benefit)",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "DeferredFederalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Federal, State and Local, Tax Expense (Benefit) [Abstract]",
        "terseLabel": "Deferred:"
       }
      }
     },
     "localname": "DeferredFederalStateAndLocalTaxExpenseBenefitAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r99",
      "r117",
      "r476",
      "r485",
      "r486",
      "r487"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "totalLabel": "Total deferred income tax expense (benefit)"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r23",
      "r24",
      "r466",
      "r713",
      "r732"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Tax Liabilities, Gross",
        "negatedTotalLabel": "Deferred tax liabilities",
        "totalLabel": "Deferred Tax Liabilities, Gross, Total"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilitiesNet": {
     "auth_ref": [
      "r450",
      "r451"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting.",
        "label": "Deferred Income Tax Liabilities, Net",
        "terseLabel": "Deferred tax liabilities",
        "totalLabel": "Deferred Income Tax Liabilities, Net, Total"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenueCurrent": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "amrk_DeferredRevenueAndOtherAdvancesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as current.",
        "label": "Deferred Revenue, Current",
        "terseLabel": "Deferred revenue",
        "totalLabel": "Deferred Revenue, Current, Total"
       }
      }
     },
     "localname": "DeferredRevenueCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAccountsPayableAndOtherCurrentLiabilitiesScheduleOfAccountsPayableAndOtherCurrentLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r117",
      "r476",
      "r485"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred state and local tax expense (benefit) attributable to income (loss) from continuing operations. Includes, but is not limited to, deferred regional, territorial, and provincial tax expense (benefit) for non-US (United States of America) jurisdiction.",
        "label": "Deferred State and Local Income Tax Expense (Benefit)",
        "terseLabel": "State and local"
       }
      }
     },
     "localname": "DeferredStateAndLocalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Gross",
        "totalLabel": "Deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredTaxLiabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Net of Valuation Allowance",
        "totalLabel": "Deferred tax assets after valuation allowances"
       }
      }
     },
     "localname": "DeferredTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwards": {
     "auth_ref": [
      "r473",
      "r474"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards.",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards",
        "terseLabel": "Net operating loss carry forwards",
        "totalLabel": "Deferred Tax Assets, Operating Loss Carryforwards, Total"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOther": {
     "auth_ref": [
      "r473",
      "r474"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other.",
        "label": "Deferred Tax Assets, Other",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "DeferredTaxAssetsOther",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsStateTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from state taxes.",
        "label": "Deferred Tax Assets, State Taxes",
        "terseLabel": "State tax accrual"
       }
      }
     },
     "localname": "DeferredTaxAssetsStateTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation": {
     "auth_ref": [
      "r473",
      "r474"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from employee compensation.",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Employee Compensation",
        "terseLabel": "Accrued compensation"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost": {
     "auth_ref": [
      "r473",
      "r474"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation.",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Share-Based Compensation Cost",
        "terseLabel": "Stock-based compensation"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r468"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "negatedLabel": "Less: valuation allowances"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilities": {
     "auth_ref": [
      "r451",
      "r469"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting.",
        "label": "Deferred Tax Liabilities, Net",
        "negatedTotalLabel": "Net deferred tax liability",
        "totalLabel": "Deferred Tax Liabilities, Net, Total"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets": {
     "auth_ref": [
      "r473",
      "r474"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from intangible assets including goodwill.",
        "label": "Deferred Tax Liabilities, Goodwill and Intangible Assets",
        "negatedLabel": "Intangible assets",
        "totalLabel": "Deferred Tax Liabilities, Goodwill and Intangible Assets, Total"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesGoodwillAndIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates": {
     "auth_ref": [
      "r473",
      "r474"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from investments in unconsolidated subsidiaries and investments in other affiliates which are not controlled nor consolidated.",
        "label": "Deferred Tax Liabilities, Investment in Noncontrolled Affiliates",
        "negatedLabel": "Earnings from equity method investment"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesLeasingArrangements": {
     "auth_ref": [
      "r473",
      "r474"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from leasing arrangements.",
        "label": "Deferred Tax Liabilities, Leasing Arrangements",
        "negatedLabel": "Right of use assets"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesLeasingArrangements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesOther": {
     "auth_ref": [
      "r473",
      "r474"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences classified as other.",
        "label": "Deferred Tax Liabilities, Other",
        "negatedLabel": "Other"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesOther",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment": {
     "auth_ref": [
      "r473",
      "r474"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment.",
        "label": "Deferred Tax Liabilities, Property, Plant and Equipment",
        "negatedLabel": "Fixed assets"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedBenefitPlanContributionsByEmployer": {
     "auth_ref": [
      "r375",
      "r377",
      "r378",
      "r385",
      "r386",
      "r387"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contribution received by defined benefit plan from employer which increases plan assets.",
        "label": "Defined Benefit Plan, Plan Assets, Contributions by Employer",
        "terseLabel": "Employer contribution"
       }
      }
     },
     "localname": "DefinedBenefitPlanContributionsByEmployer",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Defined Contribution Plan Disclosure [Line Items]"
       }
      }
     },
     "localname": "DefinedContributionPlanDisclosureLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan.",
        "label": "Defined Contribution Plan, Employer Matching Contribution, Percent of Employees' Gross Pay",
        "terseLabel": "Employer matching contribution, percent of employees' gross pay, percentage"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployerMatchingContributionPercent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage employer matches of the employee's percentage contribution matched.",
        "label": "Defined Contribution Plan, Employer Matching Contribution, Percent of Match",
        "terseLabel": "Employer matching contribution, percent of match, percentage"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployerMatchingContributionPercentOfMatch",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan.",
        "label": "Defined Contribution Plan, Maximum Annual Contributions Per Employee, Percent",
        "terseLabel": "Maximum annual contributions per employee, percent"
       }
      }
     },
     "localname": "DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DepreciationAndAmortization": {
     "auth_ref": [
      "r99",
      "r286"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production.",
        "label": "Depreciation, Depletion and Amortization, Nonproduction",
        "terseLabel": "Depreciation and amortization expense",
        "totalLabel": "Depreciation, Depletion and Amortization, Nonproduction, Total"
       }
      }
     },
     "localname": "DepreciationAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "auth_ref": [
      "r99",
      "r181"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
        "label": "Depreciation, Depletion and Amortization",
        "negatedLabel": "Depreciation and amortization expense",
        "terseLabel": "Depreciation and amortization",
        "totalLabel": "Depreciation, Depletion and Amortization, Total"
       }
      }
     },
     "localname": "DepreciationDepletionAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset": {
     "auth_ref": [
      "r56",
      "r535"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails2": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeAssetsCurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to return cash collateral under master netting arrangements offset against derivative assets.",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, Collateral, Obligation to Return Cash, Offset Against Derivative Asset",
        "negatedLabel": "Cash Collateral Pledge"
       }
      }
     },
     "localname": "DerivativeAssetCollateralObligationToReturnCashOffset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossLiability": {
     "auth_ref": [
      "r56",
      "r63",
      "r545"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeAssetsCurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of liability associated with financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, Liability Offset",
        "negatedLabel": "Amounts Netted"
       }
      }
     },
     "localname": "DerivativeAssetFairValueGrossLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetMeasurementInput": {
     "auth_ref": [
      "r576"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure derivative asset.",
        "label": "Derivative Asset, Measurement Input",
        "terseLabel": "Option to purchase interests in long-term investment"
       }
      }
     },
     "localname": "DerivativeAssetMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_DerivativeAssetsCurrent": {
     "auth_ref": [
      "r57"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset, Current",
        "terseLabel": "Derivative assets",
        "totalLabel": "Net Derivative"
       }
      }
     },
     "localname": "DerivativeAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]",
        "terseLabel": "Derivative Contract"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r55",
      "r61",
      "r62",
      "r545",
      "r669"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails2": {
       "order": 0.0,
       "parentTag": "us-gaap_DerivativeAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, before Offset",
        "terseLabel": "Gross derivative receivable",
        "totalLabel": "Derivative Asset, Fair Value, Gross Asset, Total"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r55",
      "r61",
      "r62",
      "r545",
      "r669"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails2": {
       "order": 0.0,
       "parentTag": "us-gaap_DerivativeLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, before Offset",
        "terseLabel": "Gross derivative payable",
        "totalLabel": "Derivative Liability, Fair Value, Gross Liability, Total"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeNet": {
     "auth_ref": [
      "r583"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of the assets less the liabilities of a derivative or group of derivatives.",
        "label": "Derivative, Fair Value, Net",
        "terseLabel": "Fair value of derivatives",
        "totalLabel": "Derivative, Fair Value, Net, Total"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeGainLossOnDerivativeNet": {
     "auth_ref": [
      "r544"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_GainLossOnDerivativeInstrumentsNetPretax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the fair value of derivatives recognized in the income statement.",
        "label": "Derivative, Gain (Loss) on Derivative, Net",
        "terseLabel": "Realized gains (losses) on future commodity contracts, net",
        "totalLabel": "Derivative, Gain (Loss) on Derivative, Net, Total"
       }
      }
     },
     "localname": "DerivativeGainLossOnDerivativeNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration": {
     "auth_ref": [
      "r544"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of income or comprehensive income that includes gain (loss) from derivative.",
        "label": "Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]"
       }
      }
     },
     "localname": "DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r61",
      "r543",
      "r546",
      "r549",
      "r552"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]",
        "terseLabel": "Derivative Instrument"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r562",
      "r571"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "terseLabel": "Derivative Instruments and Hedging Transactions"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeLiabilitiesCurrent": {
     "auth_ref": [
      "r57"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability, Current",
        "terseLabel": "Derivative liabilities",
        "totalLabel": "Net derivative payables"
       }
      }
     },
     "localname": "DerivativeLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset": {
     "auth_ref": [
      "r56",
      "r535"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails2": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeLiabilitiesCurrent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of right to receive cash collateral under master netting arrangements offset against derivative liabilities.",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Cash Offset",
        "negatedLabel": "Cash Collateral Pledge"
       }
      }
     },
     "localname": "DerivativeLiabilityCollateralRightToReclaimCashOffset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossAsset": {
     "auth_ref": [
      "r56",
      "r59",
      "r63",
      "r545"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeLiabilitiesCurrent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of asset associated with financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, Asset Offset",
        "negatedLabel": "Amounts Netted"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueGrossAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative [Line Items]",
        "terseLabel": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeNotionalAmount": {
     "auth_ref": [
      "r537",
      "r539"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "amrk_NetInventorySubjectToPriceRisk",
       "weight": -1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payment on derivative.",
        "label": "Derivative, Notional Amount",
        "terseLabel": "Market value of derivative financial instruments",
        "verboseLabel": "Open derivative contracts"
       }
      }
     },
     "localname": "DerivativeNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r536",
      "r538",
      "r539",
      "r540",
      "r541",
      "r548",
      "r549",
      "r555",
      "r557",
      "r561",
      "r562"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]",
        "terseLabel": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesFairValueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivatives, Fair Value [Line Items]",
        "terseLabel": "Derivatives, Fair Value [Line Items]"
       }
      }
     },
     "localname": "DerivativesFairValueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r124",
      "r536",
      "r538",
      "r540",
      "r541",
      "r556"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "terseLabel": "Hedging Activities"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DevelopedTechnologyRightsMember": {
     "auth_ref": [
      "r506"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights to developed technology, which can include the right to develop, use, market, sell, or offer for sale products, compounds, or intellectual property.",
        "label": "Developed Technology Rights [Member]",
        "terseLabel": "Developed Technology"
       }
      }
     },
     "localname": "DevelopedTechnologyRightsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "auth_ref": [
      "r106"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the declared dividend will be paid, in YYYY-MM-DD format.",
        "label": "Dividends Payable, Date to be Paid",
        "terseLabel": "Dividend, payment date"
       }
      }
     },
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DividendsAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information about distribution of earnings to shareholders including, but not limited to, cash, property or capital stock.",
        "label": "Dividends [Axis]"
       }
      }
     },
     "localname": "DividendsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r365"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Common Stock, Cash",
        "negatedLabel": "Dividends declared"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distributions of earnings to shareholders including but not limited to cash, property or capital stock.",
        "label": "Dividends [Domain]"
       }
      }
     },
     "localname": "DividendsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DividendsPayableDateDeclaredDayMonthAndYear": {
     "auth_ref": [
      "r106"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the dividend to be paid was declared, in YYYY-MM-DD format.",
        "label": "Dividends Payable, Date Declared",
        "terseLabel": "Dividends declared, date"
       }
      }
     },
     "localname": "DividendsPayableDateDeclaredDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DividendsPayableDateOfRecordDayMonthAndYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the holder must own the stock to be entitled to the dividend, in YYYY-MM-DD format.",
        "label": "Dividends Payable, Date of Record",
        "terseLabel": "Dividend, record date"
       }
      }
     },
     "localname": "DividendsPayableDateOfRecordDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DomesticCountryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of the government that is entitled to levy and collect income taxes from the entity in its country of domicile.",
        "label": "Domestic Tax Authority [Member]",
        "terseLabel": "U.S."
       }
      }
     },
     "localname": "DomesticCountryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DueFromRelatedParties": {
     "auth_ref": [
      "r27",
      "r121",
      "r309",
      "r311",
      "r312",
      "r318",
      "r319",
      "r320",
      "r642",
      "r718",
      "r744"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, amounts due from related parties including affiliates, employees, joint ventures, officers and stockholders, immediate families thereof, and pension funds.",
        "label": "Due from Related Parties",
        "terseLabel": "Receivables",
        "totalLabel": "Due from Related Parties, Total"
       }
      }
     },
     "localname": "DueFromRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfRelatedPartyReceivableAndPayablesBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r121",
      "r309",
      "r311",
      "r312",
      "r318",
      "r319",
      "r320",
      "r642",
      "r719",
      "r743"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties.",
        "label": "Due to Related Parties",
        "terseLabel": "Payables",
        "totalLabel": "Due to Related Parties, Total"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfRelatedPartyReceivableAndPayablesBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "Basic and diluted net income per share attributable to A-Mark Precious Metals, Inc.:"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r75",
      "r133",
      "r134",
      "r135",
      "r136",
      "r137",
      "r143",
      "r145",
      "r150",
      "r151",
      "r152",
      "r155",
      "r156",
      "r568",
      "r569",
      "r725",
      "r747"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic",
        "totalLabel": "Earnings Per Share, Basic, Total"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r75",
      "r133",
      "r134",
      "r135",
      "r136",
      "r137",
      "r145",
      "r150",
      "r151",
      "r152",
      "r155",
      "r156",
      "r568",
      "r569",
      "r725",
      "r747"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Diluted",
        "totalLabel": "Earnings Per Share, Diluted, Total"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r153",
      "r154"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Earnings per Share (EPS)"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "auth_ref": [
      "r453"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "terseLabel": "Effective tax rate",
        "totalLabel": "Effective Income Tax Rate Reconciliation, Percent, Total",
        "verboseLabel": "Tax rate (in percentage)"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount": {
     "auth_ref": [
      "r443",
      "r453"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operation, attributable to expense for award under share-based payment arrangement. Excludes expense determined to be nondeductible upon grant or after for award under share-based payment arrangement.",
        "label": "Effective Income Tax Rate Reconciliation, Tax Expense (Benefit), Share-Based Payment Arrangement, Amount",
        "terseLabel": "Stock based compensation"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r435"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Share-based payment arrangement, nonvested award, cost not yet recognized, period for recognition"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions": {
     "auth_ref": [
      "r435"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost to be recognized for nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount",
        "terseLabel": "Share-based payment arrangement, nonvested award, excluding option, cost not yet recognized"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions": {
     "auth_ref": [
      "r435"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost to be recognized for option under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Option, Cost Not yet Recognized, Amount",
        "terseLabel": "Share-based payment arrangement, nonvested award, option, cost not yet recognized, amount"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-Based Payment Arrangement, Option [Member]",
        "terseLabel": "Options"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EmploymentContractsMember": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contracts securing the services of employees, which may define the period of employment and the nature of the business relationship, and which may include nondisclosure and noncompete restrictions.",
        "label": "Employment Contracts [Member]",
        "terseLabel": "Employment agreement"
       }
      }
     },
     "localname": "EmploymentContractsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r2",
      "r67",
      "r68",
      "r69",
      "r127",
      "r128",
      "r129",
      "r132",
      "r138",
      "r140",
      "r158",
      "r240",
      "r360",
      "r365",
      "r437",
      "r438",
      "r439",
      "r480",
      "r481",
      "r567",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r638",
      "r759",
      "r760",
      "r761"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvesteeMember": {
     "auth_ref": [
      "r228",
      "r698",
      "r700",
      "r702",
      "r704",
      "r706",
      "r708"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity that issued voting stock held by an investor and that is accounted for under the equity method of accounting by the investor.",
        "label": "Equity Method Investee [Member]",
        "terseLabel": "Equity method investee"
       }
      }
     },
     "localname": "EquityMethodInvesteeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfRelatedPartyReceivableAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfSalesAndPurchasesOfRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentDividendsOrDistributions": {
     "auth_ref": [
      "r73",
      "r93",
      "r99",
      "r745"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities.",
        "label": "Proceeds from Equity Method Investment, Distribution",
        "terseLabel": "Dividends received from equity method investees",
        "verboseLabel": "Dividend received from equity method investee"
       }
      }
     },
     "localname": "EquityMethodInvestmentDividendsOrDistributions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r230"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Ownership Percentage",
        "terseLabel": "Percentage of investments in privately-held entities accounted under equity method",
        "verboseLabel": "Ownership Percentage"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityMethodInvestments": {
     "auth_ref": [
      "r12",
      "r187",
      "r229"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.",
        "label": "Equity Method Investments",
        "verboseLabel": "Carrying Value"
       }
      }
     },
     "localname": "EquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentsPolicy": {
     "auth_ref": [
      "r93",
      "r231",
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for equity method of accounting for investments and other interests. Investment includes, but is not limited to, unconsolidated subsidiary, corporate joint venture, noncontrolling interest in real estate venture, limited partnership, and limited liability company. Information includes, but is not limited to, ownership percentage, reason equity method is or is not considered appropriate, and accounting policy election for distribution received.",
        "label": "Equity Method Investments [Policy Text Block]",
        "terseLabel": "Earnings from Equity Method Investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquityMethodInvestmentsTextBlock": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information.",
        "label": "Equity Method Investments [Table Text Block]",
        "terseLabel": "Schedule of Carrying Value and Ownership Percentage of Investment"
       }
      }
     },
     "localname": "EquityMethodInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r336",
      "r351",
      "r352",
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate of Fair Value Measurement [Member]",
        "terseLabel": "Fair value"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfCarryingAmountsAndEstimatedFairValueOfFixedRateNotesPayableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r572",
      "r573",
      "r579"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r577"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "terseLabel": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]"
       }
      }
     },
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfCarryingAmountsAndEstimatedFairValueOfFixedRateNotesPayableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r572",
      "r579"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r572",
      "r584",
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "terseLabel": "Fair Value By Balance Sheet Grouping [Table]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfCarryingAmountsAndEstimatedFairValueOfFixedRateNotesPayableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r572",
      "r584"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]",
        "terseLabel": "Schedule of Carrying Amounts and Estimated Fair Value of Fixed-Rate Notes Payable"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r336",
      "r351",
      "r352",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r386",
      "r573",
      "r659",
      "r660",
      "r661"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Level 1"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r578",
      "r579"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r336",
      "r351",
      "r352",
      "r572",
      "r580"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]",
        "terseLabel": "Measurement Basis"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfCarryingAmountsAndEstimatedFairValueOfFixedRateNotesPayableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r572",
      "r573",
      "r575",
      "r576",
      "r581"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "auth_ref": [
      "r336",
      "r351",
      "r352"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value.",
        "label": "Fair Value Measurement [Domain]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueDisclosureItemAmountsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfCarryingAmountsAndEstimatedFairValueOfFixedRateNotesPayableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r578"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Assets and Liabilities, at Fair Value"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r336",
      "r377",
      "r378",
      "r383",
      "r386",
      "r573",
      "r659"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r336",
      "r351",
      "r352",
      "r377",
      "r378",
      "r383",
      "r386",
      "r573",
      "r660"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r336",
      "r351",
      "r352",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r386",
      "r573",
      "r661"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisObligations": {
     "auth_ref": [
      "r572",
      "r573"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of obligations measured on a recurring basis.",
        "label": "Obligations, Fair Value Disclosure",
        "terseLabel": "Product financing arrangements"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisObligations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r577"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r336",
      "r351",
      "r352",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r386",
      "r659",
      "r660",
      "r661"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r578",
      "r581"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Fair Value on a Recurring Basis"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "auth_ref": [
      "r542",
      "r548",
      "r558"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that discloses the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]",
        "terseLabel": "Fair Values Derivatives Balance Sheet Location By Derivative Contract Type By Hedging Designation [Table]"
       }
      }
     },
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinanceReceivablesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amounts due the Company from customers, clients, lessees, borrowers, or others under the terms of its agreements therewith. Such amount may include accrued interest receivable in accordance with the terms of the agreements. The agreements also may contain provisions and related items including a discount or premium, payable on demand, secured, or unsecured, interest bearing or noninterest bearing, among myriad other features and characteristics.",
        "label": "Financing Receivable [Member]",
        "terseLabel": "Financing Receivable"
       }
      }
     },
     "localname": "FinanceReceivablesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetAcquiredAndNoCreditDeteriorationMember": {
     "auth_ref": [
      "r222"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset acquired with no deteriorated credit quality.",
        "label": "Financial Asset Acquired and No Credit Deterioration [Member]",
        "terseLabel": "Secured Loans Acquired"
       }
      }
     },
     "localname": "FinancialAssetAcquiredAndNoCreditDeteriorationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableSummaryOfCarryingValueOfSecuredLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetOriginatedMember": {
     "auth_ref": [
      "r222"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset originated, with deteriorated credit quality and without deteriorated credit quality.",
        "label": "Financial Asset Originated [Member]",
        "terseLabel": "Financial Asset Originated"
       }
      }
     },
     "localname": "FinancialAssetOriginatedMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableSummaryOfCarryingValueOfSecuredLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r243",
      "r244",
      "r245",
      "r246",
      "r248",
      "r253",
      "r254",
      "r255",
      "r256",
      "r347",
      "r359",
      "r562",
      "r656",
      "r657",
      "r658",
      "r659",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r685",
      "r686",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentPerformanceStatusAxis": {
     "auth_ref": [
      "r248"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of performance or non-performance status of financial instruments.",
        "label": "Financial Instrument Performance Status [Axis]",
        "terseLabel": "Financial Instrument Performance Status"
       }
      }
     },
     "localname": "FinancialInstrumentPerformanceStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentPerformanceStatusDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of performance or non-performance status of financial instruments, including but not limited to, financing receivables, loans, debt, and investments.",
        "label": "Financial Instrument Performance Status [Domain]",
        "terseLabel": "Financial Instrument Performance Status"
       }
      }
     },
     "localname": "FinancialInstrumentPerformanceStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "auth_ref": [
      "r214",
      "r248"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics.",
        "label": "Financing Receivable Credit Quality Indicators [Table Text Block]",
        "terseLabel": "Schedule of Financing Receivable Credit Quality Indicators"
       }
      }
     },
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancingReceivablesTextBlock": {
     "auth_ref": [
      "r217",
      "r221"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for financing receivable.",
        "label": "Financing Receivables [Text Block]",
        "terseLabel": "Secured Loans Receivable"
       }
      }
     },
     "localname": "FinancingReceivablesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivable"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Finite-Lived Intangible Asset, Useful Life",
        "terseLabel": "Estimated useful lives of intangibles"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r17",
      "r280"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IntangibleAssetsNetExcludingGoodwill",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "negatedLabel": "Accumulated Amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for asset, excluding financial asset and goodwill, lacking physical substance with finite life expected to be recognized after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r282"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "auth_ref": [
      "r282"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r282"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2026",
        "totalLabel": "Finite-Lived Intangible Asset, Expected Amortization, Year Four, Total"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r282"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r282"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r274",
      "r276",
      "r280",
      "r284",
      "r693",
      "r696"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]",
        "terseLabel": "Finite-Lived Intangible Assets by Major Class"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Finite-Lived Intangible Assets [Line Items]",
        "terseLabel": "Finite-Lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r274",
      "r279"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]",
        "terseLabel": "Finite-Lived Intangible Assets, Major Class Name"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r280",
      "r693"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Net",
        "periodEndLabel": "Finite-Lived Intangible Assets, Net, Ending Balance",
        "periodStartLabel": "Finite-Lived Intangible Assets, Net, Beginning Balance",
        "totalLabel": "Estimated annual amortization expense"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToDefiniteLivedIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1": {
     "auth_ref": [
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remaining amortization period of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Finite-Lived Intangible Assets, Remaining Amortization Period",
        "terseLabel": "Remaining Weighted Average Amortization Period (Years)"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossUnrealized": {
     "auth_ref": [
      "r100",
      "r596",
      "r597"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 8.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of foreign currency transaction unrealized gain (loss) recognized in the income statement.",
        "label": "Foreign Currency Transaction Gain (Loss), Unrealized",
        "negatedLabel": "Unrealized gains (losses) on foreign exchange",
        "terseLabel": "Unrealized (losses) gains on foreign exchange",
        "verboseLabel": "Unrealized losses on foreign exchange"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossUnrealized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "terseLabel": "Foreign Currency"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ForeignExchangeForwardMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign exchange forward traded on an exchange (examples include but are not limited to the International Securities Exchange, Philadelphia Stock Exchange, or the Chicago Mercantile Exchange) for options or future contracts to buy or sell a certain currency, at a specified date, at a fixed exercise exchange rate.",
        "label": "Foreign Exchange Forward [Member]",
        "terseLabel": "Foreign exchange forward contracts"
       }
      }
     },
     "localname": "ForeignExchangeForwardMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ForwardContractsMember": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contracts negotiated between two parties to purchase and sell a specific quantity of a financial instrument, foreign currency, or commodity at a price specified at origination of the contract, with delivery and settlement at a specified future date.",
        "label": "Forward Contracts [Member]",
        "terseLabel": "Forward contracts",
        "verboseLabel": "Precious metals forward contracts at market values"
       }
      }
     },
     "localname": "ForwardContractsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FurnitureAndFixturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
        "label": "Furniture and Fixtures [Member]",
        "terseLabel": "Office Furniture, and Fixtures"
       }
      }
     },
     "localname": "FurnitureAndFixturesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FutureMember": {
     "auth_ref": [
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Futures contracts are forward-based contracts to make or take delivery of a specified financial instrument, foreign currency, or commodity at a specified future date or during a specified period at as specified price or yield. Futures are standardized contracts traded on an organized exchange.",
        "label": "Future [Member]",
        "terseLabel": "Future contracts",
        "verboseLabel": "Precious metals futures contracts at market values"
       }
      }
     },
     "localname": "FutureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfOutstandingCommitmentsAndOpenForwardAndFutureContractsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfHedgingActivitiesShowsPreciousMetalCommodityInventoryPositionNetOfOpenSaleAndPurchaseCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnDerivativeInstrumentsNetPretax": {
     "auth_ref": [
      "r543"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects.",
        "label": "Gain (Loss) on Derivative Instruments, Net, Pretax",
        "totalLabel": "Gains (losses) on derivative instruments:"
       }
      }
     },
     "localname": "GainLossOnDerivativeInstrumentsNetPretax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r16",
      "r261",
      "r262",
      "r269",
      "r271",
      "r651",
      "r710"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill",
        "periodEndLabel": "Goodwill, Ending Balance",
        "periodStartLabel": "Goodwill, Beginning Balance",
        "terseLabel": "Goodwill",
        "totalLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetImpairment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total loss recognized during the period from the impairment of goodwill plus the loss recognized in the period resulting from the impairment of the carrying amount of intangible assets, other than goodwill.",
        "label": "Goodwill and Intangible Asset Impairment",
        "terseLabel": "Goodwill and intangible asset impairment",
        "totalLabel": "Goodwill and Intangible Asset Impairment, Total",
        "verboseLabel": "Impairment of goodwill and indefinite-lived assets"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r285"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for goodwill and intangible assets.",
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Goodwill and Intangible Assets"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock": {
     "auth_ref": [
      "r270",
      "r277"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for goodwill and intangible assets. This accounting policy also may address how an entity assesses and measures impairment of goodwill and intangible assets.",
        "label": "Goodwill and Intangible Assets, Policy [Policy Text Block]",
        "terseLabel": "Goodwill and Indefinite-lived Intangible Assets"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillGross": {
     "auth_ref": [
      "r262",
      "r269",
      "r271"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Goodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Gross",
        "terseLabel": "Goodwill Gross"
       }
      }
     },
     "localname": "GoodwillGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillImpairedAccumulatedImpairmentLoss": {
     "auth_ref": [
      "r262",
      "r269",
      "r271"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Goodwill",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated impairment loss for an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Impaired, Accumulated Impairment Loss",
        "negatedLabel": "Goodwill Impaired Accumulated Impairment Loss",
        "terseLabel": "Accumulated impairment losses on goodwill"
       }
      }
     },
     "localname": "GoodwillImpairedAccumulatedImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GrossProfit": {
     "auth_ref": [
      "r78",
      "r116",
      "r186",
      "r192",
      "r196",
      "r199",
      "r202",
      "r233",
      "r306",
      "r307",
      "r308",
      "r311",
      "r312",
      "r313",
      "r315",
      "r317",
      "r319",
      "r320",
      "r589"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.",
        "label": "Gross Profit",
        "terseLabel": "Gross profit",
        "totalLabel": "Gross profit"
       }
      }
     },
     "localname": "GrossProfit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic": {
     "auth_ref": [
      "r118",
      "r488"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesNetIncomeFromOperationsBeforeProvisionForIncomeTaxesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of earnings or loss from continuing operations before income taxes that is attributable to domestic operations.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Domestic",
        "terseLabel": "U.S."
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesNetIncomeFromOperationsBeforeProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r72",
      "r186",
      "r192",
      "r196",
      "r199",
      "r202",
      "r709",
      "r723",
      "r728",
      "r749"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesNetIncomeFromOperationsBeforeProvisionForIncomeTaxesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "totalLabel": "Net income before provision for income taxes",
        "verboseLabel": "Total net income before provision for income taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesNetIncomeFromOperationsBeforeProvisionForIncomeTaxesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign": {
     "auth_ref": [
      "r118",
      "r488"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesNetIncomeFromOperationsBeforeProvisionForIncomeTaxesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of earnings or loss from continuing operations before income taxes that is attributable to foreign operations, which is defined as Income or Loss generated from operations located outside the entity's country of domicile.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Foreign",
        "terseLabel": "Foreign"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesNetIncomeFromOperationsBeforeProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r73",
      "r99",
      "r183",
      "r229",
      "r722",
      "r745"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 5.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) for proportionate share of equity method investee's income (loss).",
        "label": "Income (Loss) from Equity Method Investments",
        "negatedLabel": "Earnings from equity method investments",
        "terseLabel": "Earnings from equity method investments",
        "totalLabel": "Income (Loss) from Equity Method Investments, Total"
       }
      }
     },
     "localname": "IncomeLossFromEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r456"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r119",
      "r454",
      "r464",
      "r471",
      "r483",
      "r489",
      "r491",
      "r492",
      "r493"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExaminationInterestAccrued": {
     "auth_ref": [
      "r455"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of estimated interest accrued as of the balance sheet date arising from income tax examinations.",
        "label": "Income Tax Examination, Interest Accrued",
        "terseLabel": "Interest accrued"
       }
      }
     },
     "localname": "IncomeTaxExaminationInterestAccrued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxExaminationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Income Tax Examination [Line Items]",
        "terseLabel": "Income Tax Examination [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxExaminationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxExaminationPenaltiesAccrued": {
     "auth_ref": [
      "r455"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of estimated penalties accrued as of the balance sheet date arising from income tax examinations.",
        "label": "Income Tax Examination, Penalties Accrued",
        "terseLabel": "Penalties accrued"
       }
      }
     },
     "localname": "IncomeTaxExaminationPenaltiesAccrued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxExaminationTable": {
     "auth_ref": [
      "r457"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A summary of income tax examinations that an enterprise is currently subject to or that have been completed in the current period typically including a description of the examination, the jurisdiction conducting the examination, the tax year(s) under examination, the likelihood of an unfavorable settlement, the range of possible losses, the liability recorded, the Increase or Decrease in the liability from the prior period, and any penalties and interest that have been incurred or accrued.",
        "label": "Income Tax Examination [Table]",
        "terseLabel": "Income Tax Examination [Table]"
       }
      }
     },
     "localname": "IncomeTaxExaminationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r120",
      "r139",
      "r140",
      "r184",
      "r452",
      "r484",
      "r490",
      "r750"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedLabel": "Income tax expense",
        "totalLabel": "Income tax expense"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxExpenseByJurisdictionAndEffectiveTaxRateDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r66",
      "r448",
      "r449",
      "r464",
      "r465",
      "r470",
      "r477"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential": {
     "auth_ref": [
      "r453"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign income tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Amount",
        "negatedLabel": "Foreign rate differential",
        "terseLabel": "Foreign rate differential"
       }
      }
     },
     "localname": "IncomeTaxReconciliationForeignIncomeTaxRateDifferential",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r453"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount",
        "terseLabel": "Federal income tax"
       }
      }
     },
     "localname": "IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationOtherAdjustments": {
     "auth_ref": [
      "r453"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments.",
        "label": "Effective Income Tax Rate Reconciliation, Other Adjustments, Amount",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "IncomeTaxReconciliationOtherAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes": {
     "auth_ref": [
      "r453"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Amount",
        "terseLabel": "State tax, net of federal benefit"
       }
      }
     },
     "localname": "IncomeTaxReconciliationStateAndLocalIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaid": {
     "auth_ref": [
      "r96",
      "r105"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.",
        "label": "Income Taxes Paid",
        "terseLabel": "Income taxes paid"
       }
      }
     },
     "localname": "IncomeTaxesPaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsAndOtherReceivables": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount due from customers for the credit sale of goods and services; includes accounts receivable and other types of receivables.",
        "label": "Increase (Decrease) in Accounts and Other Receivables",
        "negatedLabel": "Receivables"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsAndOtherReceivables",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 33.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the period in the amount due for taxes based on the reporting entity's earnings or attributable to the entity's income earning process (business presence) within a given jurisdiction.",
        "label": "Increase (Decrease) in Income Taxes Payable",
        "terseLabel": "Income tax payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedIncomeTaxesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilities": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 32.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of expenses incurred but not yet paid.",
        "label": "Increase (Decrease) in Accrued Liabilities",
        "terseLabel": "Accrued liabilities",
        "totalLabel": "Increase (Decrease) in Accrued Liabilities, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeferredIncomeTaxes": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the account that represents the temporary difference that results from Income or Loss that is recognized for accounting purposes but not for tax purposes and vice versa.",
        "label": "Increase (Decrease) in Deferred Income Taxes",
        "negatedLabel": "Deferred income taxes"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDerivativeAssets": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the period in the carrying value of derivative instruments reported as assets that are due to be disposed of within one year (or the normal operating cycle, if longer).",
        "label": "Increase (Decrease) in Derivative Assets",
        "negatedLabel": "Derivative assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInDerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDerivativeLiabilities": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 27.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the period in the carrying value of derivative instruments reported as liabilities that are due to be disposed of within one year (or the normal operating cycle, if longer).",
        "label": "Increase (Decrease) in Derivative Liabilities",
        "terseLabel": "Derivative liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInDerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate increase (decrease) during the reporting period in the amount due from the following types of related parties: a parent company and its subsidiaries; subsidiaries of a common parent; an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; an entity and its principal owners, management, or member of their immediate families, affiliates, or other parties with the ability to exert significant influence.",
        "label": "Increase (Decrease) in Due from Related Parties, Current",
        "negatedLabel": "Secured loans made to affiliates",
        "totalLabel": "Increase (Decrease) in Due from Related Parties, Current, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueFromRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInFinanceReceivables": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in outstanding loans including accrued interest.",
        "label": "Increase (Decrease) in Finance Receivables",
        "negatedLabel": "Secured loans receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInFinanceReceivables",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 22.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.",
        "label": "Increase (Decrease) in Inventories",
        "negatedLabel": "Inventories",
        "totalLabel": "Increase (Decrease) in Inventories, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInInventories",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Changes in assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 23.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "Increase (Decrease) in Prepaid Expense and Other Assets",
        "negatedLabel": "Prepaid expenses and other assets",
        "totalLabel": "Increase (Decrease) in Prepaid Expense and Other Assets, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInSecuritiesBorrowed": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 29.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the total amount due the entity arising from securities borrowed transactions.",
        "label": "Increase (Decrease) in Securities Borrowed",
        "negatedLabel": "Liabilities on borrowed metals"
       }
      }
     },
     "localname": "IncreaseDecreaseInSecuritiesBorrowed",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
        "terseLabel": "Increase (Decrease) in Stockholders' Equity [Roll Forward]"
       }
      }
     },
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "auth_ref": [
      "r146",
      "r147",
      "r148",
      "r152",
      "r396"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfSharesUsedInCalculatingBasicAndDilutedEarningsPerCommonSharesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Share-Based Payment Arrangements",
        "terseLabel": "Effect of common stock equivalents \u2014 stock issuable under outstanding equity awards",
        "totalLabel": "Incremental Common Shares Attributable to Share-based Payment Arrangements, Total"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfSharesUsedInCalculatingBasicAndDilutedEarningsPerCommonSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r275",
      "r283"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type or class of assets, excluding financial assets and goodwill, lacking physical substance and having a projected indefinite period of benefit.",
        "label": "Indefinite-Lived Intangible Assets [Axis]",
        "terseLabel": "Indefinite-lived Intangible Assets"
       }
      }
     },
     "localname": "IndefiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill": {
     "auth_ref": [
      "r283"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails": {
       "order": 0.0,
       "parentTag": "amrk_IndefiniteLivedIntangibleAssetsExcludingGoodwillNetOfAccumulatedImpairment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets, excluding financial assets and goodwill, lacking physical substance and having a projected indefinite period of benefit.",
        "label": "Indefinite-Lived Intangible Assets (Excluding Goodwill)",
        "periodEndLabel": "Indefinite-lived Intangible Assets (Excluding Goodwill), Ending Balance",
        "periodStartLabel": "Indefinite-lived Intangible Assets (Excluding Goodwill), Beginning Balance",
        "terseLabel": "Indefinite-lived Intangible Assets (Excluding Goodwill)",
        "totalLabel": "Indefinite-lived Intangible Assets (Excluding Goodwill), Total"
       }
      }
     },
     "localname": "IndefiniteLivedIntangibleAssetsExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r275",
      "r283"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of indefinite-lived intangible asset (for example, trade names, etc. but not all-inclusive), excluding goodwill. A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of the company.",
        "label": "Indefinite-Lived Intangible Assets, Major Class Name [Domain]",
        "terseLabel": "Indefinite-lived Intangible Assets, Major Class Name"
       }
      }
     },
     "localname": "IndefiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IntangibleAssetsFiniteLivedPolicy": {
     "auth_ref": [
      "r110",
      "r279",
      "r689",
      "r690",
      "r691",
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for finite-lived intangible assets. This accounting policy also might address: (1) the amortization method used; (2) the useful lives of such assets; and (3) how the entity assesses and measures impairment of such assets.",
        "label": "Intangible Assets, Finite-Lived, Policy [Policy Text Block]",
        "terseLabel": "Finite-lived Intangible Assets"
       }
      }
     },
     "localname": "IntangibleAssetsFiniteLivedPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IntangibleAssetsGrossExcludingGoodwill": {
     "auth_ref": [
      "r16"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IntangibleAssetsNetExcludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated amortization of intangible assets, excluding goodwill.",
        "label": "Intangible Assets, Gross (Excluding Goodwill)",
        "terseLabel": "Gross Carrying Amount",
        "totalLabel": "Intangible Assets, Gross (Excluding Goodwill), Total"
       }
      }
     },
     "localname": "IntangibleAssetsGrossExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r272",
      "r278"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Intangible Assets, Net (Excluding Goodwill)",
        "terseLabel": "Intangibles, net",
        "totalLabel": "Net Book Value",
        "verboseLabel": "Intangible assets"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r70",
      "r180",
      "r609",
      "r612",
      "r727"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "negatedLabel": "Interest expense",
        "totalLabel": "Interest Expense, Total"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebt": {
     "auth_ref": [
      "r83",
      "r342",
      "r350",
      "r353",
      "r354"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt.",
        "label": "Interest Expense, Debt",
        "terseLabel": "Interest expense",
        "totalLabel": "Interest Expense, Debt, Total"
       }
      }
     },
     "localname": "InterestExpenseDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsProductFinancingArrangementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpensePolicyTextBlock": {
     "auth_ref": [
      "r608"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognizing interest expense, including the method of amortizing debt issuance costs.",
        "label": "Interest Expense, Policy [Policy Text Block]",
        "terseLabel": "Interest Expense"
       }
      }
     },
     "localname": "InterestExpensePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InterestIncomeRelatedParty": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income earned from interest-bearing assets owed to the entity by related party.",
        "label": "Interest Income, Related Party",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InterestIncomeRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r91",
      "r95",
      "r105"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Interest paid"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r720",
      "r742"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables.",
        "label": "Interest Payable",
        "terseLabel": "Interest payable"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntersegmentEliminationMember": {
     "auth_ref": [
      "r178",
      "r191",
      "r192",
      "r193",
      "r194",
      "r196",
      "r198",
      "r202"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eliminating entries used in operating segment consolidation.",
        "label": "Intersegment Eliminations [Member]",
        "terseLabel": "Eliminations of Inter-Segment Sales",
        "verboseLabel": "Intersegment Eliminations"
       }
      }
     },
     "localname": "IntersegmentEliminationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InventoriesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tangible personal property held for sale in the ordinary course of business, or in process of, or to be consumed in, production for sale.",
        "label": "Inventories [Member]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoriesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InventoryCurrentTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about inventory expected to be sold or consumed within one year or operating cycle, if longer.",
        "label": "Inventory, Current [Table]",
        "terseLabel": "Inventory Current [Table]"
       }
      }
     },
     "localname": "InventoryCurrentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InventoryDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory Disclosure [Abstract]"
       }
      }
     },
     "localname": "InventoryDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InventoryDisclosureTextBlock": {
     "auth_ref": [
      "r260"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for inventory. Includes, but is not limited to, the basis of stating inventory, the method of determining inventory cost, the classes of inventory, and the nature of the cost elements included in inventory.",
        "label": "Inventory Disclosure [Text Block]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoryDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventories"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InventoryLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Inventory [Line Items]",
        "terseLabel": "Inventory [Line Items]"
       }
      }
     },
     "localname": "InventoryLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InventoryNet": {
     "auth_ref": [
      "r8",
      "r37",
      "r651"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails": {
       "order": 0.0,
       "parentTag": "amrk_RestrictedAndNonRestrictedInventoryNet",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "amrk_RestrictedAndNonRestrictedInventoryNet",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.",
        "label": "Inventory, Net",
        "terseLabel": "Inventories",
        "totalLabel": "Inventory, Net, Total",
        "verboseLabel": "Inventory held for sale"
       }
      }
     },
     "localname": "InventoryNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventory, Net [Abstract]",
        "terseLabel": "Inventories:"
       }
      }
     },
     "localname": "InventoryNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "auth_ref": [
      "r11",
      "r35",
      "r111",
      "r157",
      "r258",
      "r259",
      "r260",
      "r688"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost.",
        "label": "Inventory, Policy [Policy Text Block]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoryPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentIncomeInterest": {
     "auth_ref": [
      "r82",
      "r179"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities.",
        "label": "Investment Income, Interest",
        "terseLabel": "Interest income"
       }
      }
     },
     "localname": "InvestmentIncomeInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r231",
      "r748"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Long-Term Investments"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r766",
      "r767",
      "r768",
      "r769",
      "r770",
      "r771",
      "r772",
      "r773",
      "r774",
      "r775",
      "r776",
      "r777",
      "r778",
      "r779",
      "r780"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r766",
      "r767",
      "r768",
      "r769",
      "r770",
      "r771",
      "r772",
      "r773",
      "r774",
      "r775",
      "r776",
      "r777",
      "r778",
      "r779",
      "r780"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LandMember": {
     "auth_ref": [
      "r372"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Part of earth's surface not covered by water.",
        "label": "Land [Member]",
        "terseLabel": "Land"
       }
      }
     },
     "localname": "LandMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeaseCost": {
     "auth_ref": [
      "r632",
      "r634"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease cost recognized by lessee for lease contract.",
        "label": "Lease, Cost",
        "totalLabel": "Total lease costs, net"
       }
      }
     },
     "localname": "LeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCostAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease, Cost [Abstract]"
       }
      }
     },
     "localname": "LeaseCostAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "auth_ref": [
      "r632"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.",
        "label": "Lease, Cost [Table Text Block]",
        "terseLabel": "Components of Operating Lease Expense"
       }
      }
     },
     "localname": "LeaseCostTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions or improvements to assets held under a lease arrangement.",
        "label": "Leasehold Improvements [Member]",
        "terseLabel": "Leasehold Improvements"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeasesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Abstract]"
       }
      }
     },
     "localname": "LeasesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeasesPolicyTextBlock": {
     "auth_ref": [
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for leasing arrangement entered into by lessee.",
        "label": "Lessee, Leases [Policy Text Block]",
        "terseLabel": "Leases Right of use Assets"
       }
      }
     },
     "localname": "LesseeLeasesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
        "label": "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
        "terseLabel": "Schedule of Future Undiscounted Cash Flows for Each of Next Five Years and Thereafter and Reconciliation to Lease Liabilities"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r633"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "totalLabel": "Total lease payments"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive": {
     "auth_ref": [
      "r633"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease due after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r633"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive": {
     "auth_ref": [
      "r633"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r633"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r633"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r633"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r633"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails2": {
       "order": 0.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "negatedLabel": "Imputed interest"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "auth_ref": [
      "r635"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability.",
        "label": "Lessee, Operating Leases [Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeOperatingLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeases"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r44",
      "r116",
      "r194",
      "r233",
      "r306",
      "r307",
      "r308",
      "r311",
      "r312",
      "r313",
      "r315",
      "r317",
      "r319",
      "r320",
      "r519",
      "r527",
      "r528",
      "r589",
      "r649",
      "r650"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "LIABILITIES OF THE CONSOLIDATED VIE"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r33",
      "r116",
      "r233",
      "r589",
      "r651",
      "r716",
      "r739"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities, noncontrolling interests and stockholders\u2019 equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "terseLabel": "LIABILITIES AND STOCKHOLDERS\u2019 EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r10",
      "r46",
      "r116",
      "r233",
      "r306",
      "r307",
      "r308",
      "r311",
      "r312",
      "r313",
      "r315",
      "r317",
      "r319",
      "r320",
      "r519",
      "r527",
      "r528",
      "r589",
      "r649",
      "r650",
      "r651"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities, Current",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "Current liabilities:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r572"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial and nonfinancial obligations.",
        "label": "Liabilities, Fair Value Disclosure",
        "totalLabel": "Total liabilities, valued at fair value"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r22",
      "r714",
      "r733"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Long-Term Line of Credit",
        "totalLabel": "Long-term Line of Credit, Total",
        "verboseLabel": "Borrowings due on demand"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity": {
     "auth_ref": [
      "r40"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility.",
        "label": "Line of Credit Facility, Current Borrowing Capacity",
        "terseLabel": "Line of credit, current borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityCurrentBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityExpirationDate1": {
     "auth_ref": [
      "r40"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the credit facility terminates, in YYYY-MM-DD format.",
        "label": "Line of Credit Facility, Expiration Date",
        "terseLabel": "Line of credit, termination date"
       }
      }
     },
     "localname": "LineOfCreditFacilityExpirationDate1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity": {
     "auth_ref": [
      "r40"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
        "label": "Line of Credit Facility, Remaining Borrowing Capacity",
        "terseLabel": "Borrowings available"
       }
      }
     },
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars.",
        "label": "Line of Credit [Member]",
        "terseLabel": "Line of Credit"
       }
      }
     },
     "localname": "LineOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LinesOfCreditCurrent": {
     "auth_ref": [
      "r20",
      "r712"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current portion of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Line of Credit, Current",
        "terseLabel": "Lines of credit"
       }
      }
     },
     "localname": "LinesOfCreditCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoanToValueAxis": {
     "auth_ref": [
      "r249"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by debt-to-value ratio, for example, but not limited to, 80 percent to 100 percent. Element name and standard label in Debt-to-Value [numeric lower end] to [numeric higher end] Percent [Member] or Debt-to-Value Greater Than [low end numeric value] Percent [Member] or Debt-to-Value Less Than [high end numeric value] Percent [Member] formats.",
        "label": "Debt-to-Value [Axis]",
        "terseLabel": "Debt-to-Value"
       }
      }
     },
     "localname": "LoanToValueAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoanToValueDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt-to-value (DTV) ratio, for example, but not limited to, 80 percent to 100 percent. Element name and standard label in DTV [numeric lower end] to [numeric higher end] Percent [Member] or DTV Greater Than [low end numeric value] Percent [Member] or DTV Less Than [high end numeric value] Percent [Member] formats.",
        "label": "Debt-to-Value [Domain]",
        "terseLabel": "Debt-to-Value"
       }
      }
     },
     "localname": "LoanToValueDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount": {
     "auth_ref": [
      "r211"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allowance of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Includes deferred interest and fees, undisbursed portion of loan balance, unamortized costs and premiums and discounts from face amounts. Excludes loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Gross",
        "terseLabel": "Short term loan receivable",
        "totalLabel": "Loans and Leases Receivable, Gross, Total"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableGrossCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "auth_ref": [
      "r217"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses.",
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
        "terseLabel": "Receivables"
       }
      }
     },
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LongTermInvestments": {
     "auth_ref": [
      "r13"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).",
        "label": "Long-Term Investments",
        "terseLabel": "Long-term investments",
        "totalLabel": "Long-term Investments, Total",
        "verboseLabel": "Carrying Value"
       }
      }
     },
     "localname": "LongTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Investments [Abstract]"
       }
      }
     },
     "localname": "LongTermInvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermNotesPayable": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.",
        "label": "Notes Payable, Noncurrent",
        "terseLabel": "Notes payable",
        "totalLabel": "Notes Payable, Noncurrent, Total"
       }
      }
     },
     "localname": "LongTermNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r49"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-Term Debt, Type [Axis]",
        "terseLabel": "Long-term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsProductFinancingArrangementsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r49",
      "r305"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-Term Debt, Type [Domain]",
        "terseLabel": "Long-term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsProductFinancingArrangementsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputRiskFreeInterestRateMember": {
     "auth_ref": [
      "r574"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate on instrument with zero risk of financial loss.",
        "label": "Measurement Input, Risk Free Interest Rate [Member]",
        "terseLabel": "Risk-Free Interest Rate"
       }
      }
     },
     "localname": "MeasurementInputRiskFreeInterestRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r574"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterest": {
     "auth_ref": [
      "r54",
      "r116",
      "r233",
      "r306",
      "r311",
      "r312",
      "r313",
      "r319",
      "r320",
      "r589",
      "r715",
      "r738"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).",
        "label": "Stockholders' Equity Attributable to Noncontrolling Interest",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance",
        "terseLabel": "Noncontrolling interests",
        "totalLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "MinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterestLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Noncontrolling Interest [Line Items]",
        "terseLabel": "Minority Interest [Line Items]"
       }
      }
     },
     "localname": "MinorityInterestLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MinorityInterestOwnershipPercentageByParent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The parent entity's interest in net assets of the subsidiary, expressed as a percentage.",
        "label": "Noncontrolling Interest, Ownership Percentage by Parent",
        "terseLabel": "Percentage of ownership owned by parent"
       }
      }
     },
     "localname": "MinorityInterestOwnershipPercentageByParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_MinorityInterestTable": {
     "auth_ref": [
      "r54",
      "r79",
      "r516",
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of noncontrolling interest disclosure which includes the name of the subsidiary, the ownership percentage held by the parent, the ownership percentage held by the noncontrolling owners, the amount of the noncontrolling interest, the location of this amount on the balance sheet (when not reported separately), an explanation of the increase or decrease in the amount of the noncontrolling interest, the noncontrolling interest share of the net Income or Loss of the subsidiary, the location of this amount on the income statement (when not reported separately), the nature of the noncontrolling interest such as background information and terms, the amount of the noncontrolling interest represented by preferred stock, a description of the preferred stock, and the dividend requirements of the preferred stock.",
        "label": "Noncontrolling Interest [Table]"
       }
      }
     },
     "localname": "MinorityInterestTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r94"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash flows from financing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r94"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash used in investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Cash flows from investing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r94",
      "r97",
      "r100"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash used in operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Cash flows from operating activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r6",
      "r64",
      "r65",
      "r69",
      "r74",
      "r100",
      "r116",
      "r131",
      "r133",
      "r134",
      "r135",
      "r136",
      "r139",
      "r140",
      "r149",
      "r186",
      "r192",
      "r196",
      "r199",
      "r202",
      "r233",
      "r306",
      "r307",
      "r308",
      "r311",
      "r312",
      "r313",
      "r315",
      "r317",
      "r319",
      "r320",
      "r569",
      "r589",
      "r724",
      "r746"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "totalLabel": "Net income attributable to the Company"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r64",
      "r65",
      "r69",
      "r139",
      "r140",
      "r522",
      "r533"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Noncontrolling Interest",
        "terseLabel": "Net income attributable to noncontrolling interests",
        "totalLabel": "Net Income (Loss) Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recent Accounting Pronouncements and Auditing Standards Adopted and Not Yet Adopted"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncashInvestingAndFinancingItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncash Investing and Financing Items [Abstract]",
        "terseLabel": "Non-cash investing and financing activities:"
       }
      }
     },
     "localname": "NoncashInvestingAndFinancingItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination": {
     "auth_ref": [
      "r366",
      "r501",
      "r524"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in noncontrolling interest from a business combination.",
        "label": "Noncontrolling Interest, Increase from Business Combination",
        "negatedLabel": "Acquisition of noncontrolling interest",
        "terseLabel": "Acquisition of noncontrolling interest"
       }
      }
     },
     "localname": "NoncontrollingInterestIncreaseFromBusinessCombination",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r127",
      "r128",
      "r129",
      "r365",
      "r515"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest.",
        "label": "Noncontrolling Interest [Member]",
        "terseLabel": "Non-Controlling Interests"
       }
      }
     },
     "localname": "NoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoncurrentAssets": {
     "auth_ref": [
      "r206"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-lived assets other than financial instruments, long-term customer relationships of a financial institution, mortgage and other servicing rights, deferred policy acquisition costs, and deferred tax assets.",
        "label": "Long-Lived Assets",
        "terseLabel": "Long term assets"
       }
      }
     },
     "localname": "NoncurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NonperformingFinancingReceivableMember": {
     "auth_ref": [
      "r214",
      "r248"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category status of financial instruments in which payments are past due in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt, and investments.",
        "label": "Nonperforming Financial Instruments [Member]",
        "terseLabel": "Non-Performing"
       }
      }
     },
     "localname": "NonperformingFinancingReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesAndLoansReceivableNetCurrent": {
     "auth_ref": [
      "r211",
      "r212",
      "r717"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, after allowance for credit loss, of financing receivable classified as current. Excludes net investment in lease.",
        "label": "Loans with loan-to-value",
        "terseLabel": "Secured loans receivable",
        "totalLabel": "Financing Receivable, after Allowance for Credit Loss, Current, Total",
        "verboseLabel": "Secured loans (current)"
       }
      }
     },
     "localname": "NotesAndLoansReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsScheduleOfConcentrationOfRiskByRiskFactorOfAccountsReceivableDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableSummaryOfCarryingValueOfSecuredLoansDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayable": {
     "auth_ref": [
      "r22",
      "r714",
      "r736"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer.",
        "label": "Notes Payable",
        "terseLabel": "Notes payable",
        "totalLabel": "Notes Payable, Total"
       }
      }
     },
     "localname": "NotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableFairValueDisclosure": {
     "auth_ref": [
      "r43"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of notes payable.",
        "label": "Notes Payable, Fair Value Disclosure",
        "terseLabel": "Notes payable"
       }
      }
     },
     "localname": "NotesPayableFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfCarryingAmountsAndEstimatedFairValueOfFixedRateNotesPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesReceivableGross": {
     "auth_ref": [
      "r28",
      "r215",
      "r242",
      "r245",
      "r247",
      "r250",
      "r251",
      "r815",
      "r816",
      "r817"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, before allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease.",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "terseLabel": "Financing receivable",
        "totalLabel": "Financing Receivable, before Allowance for Credit Loss, Total"
       }
      }
     },
     "localname": "NotesReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesReceivableNet": {
     "auth_ref": [
      "r211",
      "r247"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease.",
        "label": "Financing Receivable, after Allowance for Credit Loss",
        "terseLabel": "Secured loans",
        "totalLabel": "Financing Receivable, after Allowance for Credit Loss, Total"
       }
      }
     },
     "localname": "NotesReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfClassesForFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r174"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OffsettingDerivativeAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Offsetting Derivative Assets [Abstract]",
        "terseLabel": "Nettable derivative assets:"
       }
      }
     },
     "localname": "OffsettingDerivativeAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OffsettingDerivativeLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Offsetting Derivative Liabilities [Abstract]",
        "terseLabel": "Nettable derivative liabilities:"
       }
      }
     },
     "localname": "OffsettingDerivativeLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfAggregateGrossAndNetDerivativeReceivablesAndPayablesBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r186",
      "r192",
      "r196",
      "r199",
      "r202"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income (Loss)",
        "terseLabel": "Operating income (expense)",
        "totalLabel": "Operating Income (Loss), Total"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r625",
      "r634"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating lease costs"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid [Abstract]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilitiesPaymentsDueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r621"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Total present value of lease liabilities",
        "totalLabel": "Operating lease liability"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r621"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails2": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingLeaseLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease, Liability, Current",
        "terseLabel": "Operating lease liability - current"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r622"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes current operating lease liability.",
        "label": "Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r621"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingLeaseLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease, Liability, Noncurrent",
        "terseLabel": "Operating lease liability - long-term"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r622"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes noncurrent operating lease liability.",
        "label": "Operating Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureUndiscountedCashFlowsForEachOfNextFiveYearsAndThereafterAndReconciliationToLeaseLiabilitiesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeasePayments": {
     "auth_ref": [
      "r623",
      "r628"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
        "label": "Operating Lease, Payments",
        "terseLabel": "Operating lease payments"
       }
      }
     },
     "localname": "OperatingLeasePayments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r620"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Operating lease right of use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r631",
      "r634"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Operating lease (percent)"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r630",
      "r634"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Operating lease term (in years)"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingLossCarryforwards": {
     "auth_ref": [
      "r472"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Operating Loss Carryforwards",
        "terseLabel": "Operating loss carryforwards",
        "totalLabel": "Operating Loss Carryforwards, Total"
       }
      }
     },
     "localname": "OperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingSegmentsMember": {
     "auth_ref": [
      "r191",
      "r192",
      "r193",
      "r194",
      "r196",
      "r202"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Operating Segments [Member]",
        "terseLabel": "Operating Segments"
       }
      }
     },
     "localname": "OperatingSegmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r18"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets, Noncurrent",
        "terseLabel": "Other long-term assets",
        "totalLabel": "Other Assets, Noncurrent, Total"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherInventoryMaterialsSuppliesAndMerchandiseUnderConsignment": {
     "auth_ref": [
      "r34"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross amount of inventory owned by the entity but in the hands of a customer, typically a reseller.",
        "label": "Other Inventory, Materials, Supplies and Merchandise under Consignment, Gross",
        "terseLabel": "Consignment arrangements with customers"
       }
      }
     },
     "localname": "OtherInventoryMaterialsSuppliesAndMerchandiseUnderConsignment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesNoncurrent": {
     "auth_ref": [
      "r50"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Noncurrent",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r84"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 6.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income (Expense)",
        "terseLabel": "Other income (expense), net",
        "totalLabel": "Other Nonoperating Income (Expense), Total",
        "verboseLabel": "Other income, net"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ParentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion of equity, or net assets, in the consolidated entity attributable, directly or indirectly, to the parent. Excludes noncontrolling interests.",
        "label": "Parent [Member]",
        "terseLabel": "Total A-Mark Precious Metals, Inc. Stockholders' Equity"
       }
      }
     },
     "localname": "ParentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PaymentsForProceedsFromLoansReceivable": {
     "auth_ref": [
      "r102",
      "r103"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount paid or received by the reporting entity associated with purchase (sale or collection) of loans receivable arising from the financing of goods and services.",
        "label": "Payments for (Proceeds from) Loans Receivable",
        "negatedLabel": "Secured loans receivable, net",
        "totalLabel": "Payments for (Proceeds from) Loans Receivable, Total"
       }
      }
     },
     "localname": "PaymentsForProceedsFromLoansReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "auth_ref": [
      "r90"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
        "label": "Payments of Debt Issuance Costs",
        "negatedLabel": "Debt funding issuance costs"
       }
      }
     },
     "localname": "PaymentsOfDebtIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividends": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests.",
        "label": "Payments of Dividends",
        "negatedLabel": "Dividends paid",
        "totalLabel": "Payments of Dividends, Total"
       }
      }
     },
     "localname": "PaymentsOfDividends",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r89"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Common Stock",
        "terseLabel": "Dividends paid"
       }
      }
     },
     "localname": "PaymentsOfDividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "auth_ref": [
      "r85",
      "r513"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.",
        "label": "Payments to Acquire Businesses, Gross",
        "terseLabel": "Purchase price of cash"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireInvestments": {
     "auth_ref": [
      "r87"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of all investments (debt, security, other) during the period.",
        "label": "Payments to Acquire Investments",
        "negatedLabel": "Purchase of long-term investments",
        "totalLabel": "Payments to Acquire Investments, Total"
       }
      }
     },
     "localname": "PaymentsToAcquireInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r86"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Capital expenditures for property, plant, and equipment",
        "terseLabel": "Total capital expenditures on property and equipment",
        "totalLabel": "Payments to Acquire Property, Plant, and Equipment, Total",
        "verboseLabel": "Capital expenditures on property, plant, and equipment"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r397",
      "r398",
      "r399",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r419",
      "r420",
      "r422",
      "r423",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [
      "r397",
      "r398",
      "r399",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r419",
      "r420",
      "r422",
      "r423",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r582"
     ],
     "lang": {
      "en-us": {
       "role": {
        "axisDefault": "Portion at Fair Value Measurement [Member] [Default]",
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion at Fair Value Measurement [Member]",
        "terseLabel": "Fair Value Disclosure Item Amounts [Default]"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueScheduleOfCarryingAmountsAndEstimatedFairValueOfFixedRateNotesPayableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r25",
      "r356"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred stock, par value"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r25"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r25",
      "r356"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.",
        "label": "Preferred Stock, Shares Issued",
        "terseLabel": "Preferred stock, shares issued",
        "totalLabel": "Preferred Stock, Shares Issued, Total"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r25"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred Stock, Shares Outstanding",
        "periodEndLabel": "Preferred Stock, Shares Outstanding, Ending Balance",
        "periodStartLabel": "Preferred Stock, Shares Outstanding, Beginning Balance",
        "terseLabel": "Preferred stock, shares outstanding"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r25",
      "r651"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred Stock, Value, Issued",
        "terseLabel": "Preferred stock, $0.01 par value, authorized 10,000,000 shares; issued and outstanding: none as of June 30, 2022 and June 30, 2021"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r38"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense and Other Assets, Current",
        "terseLabel": "Prepaid expenses and other assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PriorPeriodReclassificationAdjustmentDescription": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for reclassification affecting comparability of financial statement. Excludes amendment to accounting standards, other change in accounting principle, and correction of error.",
        "label": "Reclassification, Comparability Adjustment [Policy Text Block]",
        "terseLabel": "Reclassification"
       }
      }
     },
     "localname": "PriorPeriodReclassificationAdjustmentDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ProceedsFromIncomeTaxRefunds": {
     "auth_ref": [
      "r97",
      "r105"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash received during the period as refunds for the overpayment of taxes.",
        "label": "Proceeds from Income Tax Refunds",
        "negatedLabel": "Income taxes refunded",
        "terseLabel": "Income taxes refunded"
       }
      }
     },
     "localname": "ProceedsFromIncomeTaxRefunds",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r88"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Net proceeds from the issuance of common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOrSaleOfEquity": {
     "auth_ref": [
      "r88"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity.",
        "label": "Proceeds from Issuance or Sale of Equity",
        "terseLabel": "Sale of equity",
        "totalLabel": "Proceeds from Issuance or Sale of Equity, Total"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOrSaleOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRepaymentsOfLinesOfCredit": {
     "auth_ref": [],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash inflow or cash outflow from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with either short term or long term maturity that is collateralized (backed by pledge, mortgage or other lien in the entity's assets).",
        "label": "Proceeds from (Repayments of) Lines of Credit",
        "terseLabel": "Borrowings and repayments under lines of credit, net",
        "totalLabel": "Proceeds from (Repayments of) Lines of Credit, Total"
       }
      }
     },
     "localname": "ProceedsFromRepaymentsOfLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r6",
      "r64",
      "r65",
      "r69",
      "r92",
      "r116",
      "r131",
      "r139",
      "r140",
      "r186",
      "r192",
      "r196",
      "r199",
      "r202",
      "r233",
      "r306",
      "r307",
      "r308",
      "r311",
      "r312",
      "r313",
      "r315",
      "r317",
      "r319",
      "r320",
      "r517",
      "r521",
      "r523",
      "r533",
      "r534",
      "r569",
      "r589",
      "r728"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income",
        "totalLabel": "Net income"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]",
        "terseLabel": "Long-Lived Tangible Asset"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r291",
      "r785",
      "r786",
      "r787"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Property, Plant, and Equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipment"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r14",
      "r287"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "periodEndLabel": "Property, Plant and Equipment, Gross, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Gross, Beginning Balance",
        "terseLabel": "Property and equipment, gross",
        "totalLabel": "Property, Plant and Equipment, Gross, Total"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Property, Plant and Equipment [Line Items]",
        "terseLabel": "Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r289",
      "r651",
      "r729",
      "r740"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "periodEndLabel": "Property, Plant and Equipment, Net, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Net, Beginning Balance",
        "terseLabel": "Property, plant, and equipment, net",
        "totalLabel": "Property, plant, and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r289",
      "r785",
      "r786"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property, Plant, and Equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Schedule of Property, Plant and Equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]",
        "terseLabel": "Long-Lived Tangible Asset"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Useful Life",
        "terseLabel": "Estimated useful lives of related assets"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ProvisionForLoanLeaseAndOtherLosses": {
     "auth_ref": [
      "r98",
      "r213",
      "r726"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense related loan transactions, lease transactions, credit loss from transactions other than loan and lease transactions, and other loss based on assessment of uncollectability from the counterparty to reduce the account to their net realizable value.",
        "label": "Provision for Loan, Lease, and Other Losses",
        "terseLabel": "Loan impairment costs",
        "totalLabel": "Provision for Loan, Lease, and Other Losses, Total"
       }
      }
     },
     "localname": "ProvisionForLoanLeaseAndOtherLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PublicUtilitiesInventoryAxis": {
     "auth_ref": [
      "r34"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of inventory held.",
        "label": "Inventory [Axis]",
        "terseLabel": "Inventory"
       }
      }
     },
     "localname": "PublicUtilitiesInventoryAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PublicUtilitiesInventoryTypeDomain": {
     "auth_ref": [
      "r34"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tangible personal property that is held for sale in the ordinary course of business, in process of production for such sale or is to be currently consumed in the production of goods or services to be available for sale.",
        "label": "Inventory [Domain]",
        "terseLabel": "Inventory"
       }
      }
     },
     "localname": "PublicUtilitiesInventoryTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesSummaryOfInventoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReceivableTypeDomain": {
     "auth_ref": [
      "r53"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing arrangement representing a contractual right to receive money either on demand or on fixed and determinable dates.",
        "label": "Receivable [Domain]",
        "terseLabel": "Receivable"
       }
      }
     },
     "localname": "ReceivableTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesScheduleOfReceivablesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReceivablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables [Abstract]"
       }
      }
     },
     "localname": "ReceivablesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RedeemableNoncontrollingInterestTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of redeemable noncontrolling interest (as defined) included in the statement of financial position as either a liability or temporary equity. As of the date of the statement of financial position, such redeemable noncontrolling interest is currently redeemable, as defined, for cash or other assets of the entity at (1) at a fixed or determinable price on a fixed or determinable date, (2) at the option of the holder of the noncontrolling interest, or (3) upon occurrence of an event that is not solely within the control of the entity.",
        "label": "Redeemable Noncontrolling Interest [Table Text Block]",
        "terseLabel": "Reconciliation of Changes in Noncontrolling Interests"
       }
      }
     },
     "localname": "RedeemableNoncontrollingInterestTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r384",
      "r641",
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]",
        "terseLabel": "Related Party"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfRelatedPartyReceivableAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfSalesAndPurchasesOfRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r384",
      "r641",
      "r642",
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]",
        "terseLabel": "Related Party Transaction"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [
      "r384"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]",
        "terseLabel": "Related Party Transaction"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfRelatedPartyReceivableAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfSalesAndPurchasesOfRelatedPartiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchases during the period (excluding transactions that are eliminated in consolidated or combined financial statements) with related party.",
        "label": "Related Party Transaction, Purchases from Related Party",
        "terseLabel": "Purchases"
       }
      }
     },
     "localname": "RelatedPartyTransactionPurchasesFromRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfSalesAndPurchasesOfRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r384",
      "r641",
      "r645",
      "r697",
      "r698",
      "r699",
      "r700",
      "r701",
      "r702",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]",
        "terseLabel": "Related Party"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfRelatedPartyReceivableAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfSalesAndPurchasesOfRelatedPartiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r639",
      "r640",
      "r642",
      "r646",
      "r647"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related Party Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
        "label": "Restricted Stock Units (RSUs) [Member]",
        "terseLabel": "Restricted Stock Units"
       }
      }
     },
     "localname": "RestrictedStockUnitsRSUMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r30",
      "r365",
      "r651",
      "r737",
      "r762",
      "r763"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Retained earnings",
        "totalLabel": "Retained Earnings (Accumulated Deficit), Total"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r2",
      "r127",
      "r128",
      "r129",
      "r132",
      "r138",
      "r140",
      "r240",
      "r437",
      "r438",
      "r439",
      "r480",
      "r481",
      "r567",
      "r759",
      "r761"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromRelatedParties": {
     "auth_ref": [
      "r77",
      "r309",
      "r311",
      "r312",
      "r318",
      "r319",
      "r320",
      "r765"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Revenue from Related Parties",
        "terseLabel": "Sales"
       }
      }
     },
     "localname": "RevenueFromRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfSalesAndPurchasesOfRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionDividends": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue recognition for dividend revenue.",
        "label": "Revenue Recognition, Dividends [Policy Text Block]",
        "terseLabel": "Dividends"
       }
      }
     },
     "localname": "RevenueRecognitionDividends",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueRecognitionInterest": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognition of interest revenue. Disclosure may include the method of recognizing interest income on loan and trade receivables, the method of amortizing premiums or accreting discounts, and a statement about the policy for the treatment of related fees and costs, including the method of amortizing net deferred fees and costs.",
        "label": "Revenue Recognition, Interest [Policy Text Block]",
        "terseLabel": "Interest Income"
       }
      }
     },
     "localname": "RevenueRecognitionInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r112",
      "r113"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue [Policy Text Block]",
        "terseLabel": "Revenue Recognition"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r71",
      "r116",
      "r177",
      "r178",
      "r191",
      "r197",
      "r198",
      "r204",
      "r205",
      "r208",
      "r233",
      "r306",
      "r307",
      "r308",
      "r311",
      "r312",
      "r313",
      "r315",
      "r317",
      "r319",
      "r320",
      "r589",
      "r728"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 0.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "terseLabel": "Revenues",
        "totalLabel": "Revenues, Total"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "auth_ref": [
      "r629",
      "r634"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
        "label": "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability",
        "terseLabel": "Addition of right of use assets under operating lease obligations"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RisksAndUncertaintiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risks and Uncertainties [Abstract]"
       }
      }
     },
     "localname": "RisksAndUncertaintiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SaleOfStockPercentageOfOwnershipAfterTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of subsidiary's or equity investee's stock owned by parent company after stock transaction.",
        "label": "Sale of Stock, Percentage of Ownership after Transaction",
        "terseLabel": "Ownership interest percentage after transaction"
       }
      }
     },
     "localname": "SaleOfStockPercentageOfOwnershipAfterTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SaleOfStockPercentageOfOwnershipBeforeTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of subsidiary's or equity investee's stock owned by parent company before stock transaction.",
        "label": "Sale of Stock, Percentage of Ownership before Transaction",
        "terseLabel": "Ownership interest percentage before transaction"
       }
      }
     },
     "localname": "SaleOfStockPercentageOfOwnershipBeforeTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r53"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]",
        "terseLabel": "Schedule Of Accounts Notes Loans And Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesScheduleOfReceivablesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfClassesForFinancingReceivablesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableSummaryOfCarryingValueOfSecuredLoansDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "auth_ref": [
      "r53"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
        "terseLabel": "Schedule of Receivables"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesTables",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "auth_ref": [
      "r477"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years.",
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
        "terseLabel": "Provision for Income Tax Expense by Jurisdiction and Effective Tax Rate"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r469"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of Deferred Tax Assets and Liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "auth_ref": [
      "r543",
      "r549",
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Derivative Instruments, Gain (Loss) [Table Text Block]",
        "terseLabel": "Summary of Net Gains (Losses) on Derivative Instruments"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsTextBlock": {
     "auth_ref": [
      "r536",
      "r538",
      "r539",
      "r540",
      "r541",
      "r548",
      "r549",
      "r555",
      "r557"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of pertinent information about a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Schedule of Derivative Instruments [Table Text Block]",
        "terseLabel": "Summary of Hedging Activities Shows Precious Metal Commodity Inventory Position Net of Open Sale and Purchase Commitments"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r152"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Reconciliation of Shares Used in Calculating Basic and Diluted Earnings per Common Shares"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "auth_ref": [
      "r453"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of Effective Income Tax Rate Reconciliation"
       }
      }
     },
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of Equity Method Investments [Line Items]",
        "terseLabel": "Schedule Of Equity Method Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsTable": {
     "auth_ref": [
      "r6",
      "r116",
      "r232",
      "r233",
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of information required and determined to be disclosed concerning equity method investments in common stock. The summarized information includes: (a) the name of each investee or group of investees for which combined disclosure is appropriate, (2) the percentage ownership of common stock, (3) the difference, if any, between the carrying amount of an investment and the value of the underlying equity in the net assets and the accounting treatment of difference, if any, and (4) the aggregate value of each identified investment based on its quoted market price, if available.",
        "label": "Schedule of Equity Method Investments [Table]",
        "terseLabel": "Schedule Of Equity Method Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureLongTermInvestmentsScheduleOfCarryingValueAndOwnershipPercentageOfInvestmentParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r572",
      "r573"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureAssetsAndLiabilitiesAtFairValueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r274",
      "r279",
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table]",
        "terseLabel": "Schedule Of Finite Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock": {
     "auth_ref": [
      "r117"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of income before income tax between domestic and foreign jurisdictions.",
        "label": "Schedule of Income before Income Tax, Domestic and Foreign [Table Text Block]",
        "terseLabel": "Net Income from Operations before Provision for Income Taxes"
       }
      }
     },
     "localname": "ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock": {
     "auth_ref": [
      "r270"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of goodwill and intangible assets, which may be broken down by segment or major class.",
        "label": "Schedule of Intangible Assets and Goodwill [Table Text Block]",
        "terseLabel": "Schedule of Carrying Value of Goodwill and Other Purchased Intangibles"
       }
      }
     },
     "localname": "ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInventoryCurrentTableTextBlock": {
     "auth_ref": [
      "r11",
      "r34",
      "r35",
      "r36"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the carrying amount as of the balance sheet date of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.",
        "label": "Schedule of Inventory, Current [Table Text Block]",
        "terseLabel": "Summary of Inventory"
       }
      }
     },
     "localname": "ScheduleOfInventoryCurrentTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureInventoriesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock": {
     "auth_ref": [
      "r411"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the changes in outstanding nonvested shares.",
        "label": "Schedule of Nonvested Share Activity [Table Text Block]",
        "terseLabel": "Summary of Nonvested Stock Option Activity"
       }
      }
     },
     "localname": "ScheduleOfNonvestedShareActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock": {
     "auth_ref": [
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the notional amounts of outstanding derivative positions.",
        "label": "Schedule of Notional Amounts of Outstanding Derivative Positions [Table Text Block]",
        "terseLabel": "Schedule of Outstanding Commitments and Open Forward and Future Contracts"
       }
      }
     },
     "localname": "ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]",
        "terseLabel": "Schedule Of Property Plant And Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r643",
      "r645"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]",
        "terseLabel": "Schedule Of Related Party Transactions By Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfInterestIncomeDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfRelatedPartyReceivableAndPayablesBalancesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsScheduleOfSalesAndPurchasesOfRelatedPartiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners and (d) affiliates.",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "terseLabel": "Schedule of Related Party Receivable and Payables Balances"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureRelatedPartyTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "auth_ref": [
      "r186",
      "r189",
      "r195",
      "r270"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table disclosing the profit or loss and total assets for each reportable segment of the entity. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table]",
        "terseLabel": "Schedule Of Segment Reporting Information By Segment [Table]"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r186",
      "r189",
      "r195",
      "r270"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "Schedule of Segment Reporting Information, by Segment"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r393",
      "r395",
      "r397",
      "r398",
      "r399",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r419",
      "r420",
      "r422",
      "r423",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "terseLabel": "Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "auth_ref": [
      "r401"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the number and weighted-average grant date fair value for restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock units that were granted, vested, or forfeited during the year.",
        "label": "Share-Based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block]",
        "terseLabel": "Summary of Restricted Stock Unit Activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Details comprising a table providing supplementary information on outstanding and exercisable share awards as of the balance sheet date which stratifies outstanding options by ranges of exercise prices.",
        "label": "Share-Based Payment Arrangement, Option, Exercise Price Range [Table]",
        "terseLabel": "Schedule Of Share Based Compensation Shares Authorized Under Stock Option Plans By Exercise Price Range [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTextBlock": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of option exercise prices, by grouped ranges, including the upper and lower limits of the price range, the number of shares under option, weighted average exercise price and remaining contractual option terms.",
        "label": "Share-Based Payment Arrangement, Option, Exercise Price Range [Table Text Block]",
        "terseLabel": "Summary of Status of Stock Option Outstanding"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r401",
      "r418",
      "r421"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Share-Based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Summary of Stock Option Activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [
      "r426"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
        "label": "Schedule of Share-Based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]",
        "terseLabel": "Schedule of Estimated Grant Date Fair Value of Stock Options"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock": {
     "auth_ref": [
      "r463",
      "r478"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the change in unrecognized tax benefits.",
        "label": "Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]",
        "terseLabel": "Schedule of Unrecognized Tax Benefits"
       }
      }
     },
     "localname": "ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r279"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "terseLabel": "Schedule of Estimated Annual Amortization Expense Related to Definite-Lived Intangible Assets"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock": {
     "auth_ref": [
      "r164",
      "r166",
      "r167",
      "r168",
      "r586",
      "r588"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Schedules of Concentration of Risk, by Risk Factor [Table Text Block]",
        "terseLabel": "Schedule of Concentration of Risk, by Risk Factor"
       }
      }
     },
     "localname": "SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureCustomerAndSupplierConcentrationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "auth_ref": [
      "r559"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed rate on U.S. dollar, constant-notional interest rate swap that has its variable-rate leg referenced to Secured Overnight Financing Rate (SOFR) with no additional spread over SOFR on variable-rate leg.",
        "label": "Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member]",
        "terseLabel": "SOFR"
       }
      }
     },
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentDomain": {
     "auth_ref": [
      "r173",
      "r177",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r185",
      "r186",
      "r187",
      "r188",
      "r191",
      "r192",
      "r193",
      "r194",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r202",
      "r208",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r293",
      "r294",
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Segments [Domain]",
        "terseLabel": "Segments"
       }
      }
     },
     "localname": "SegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r173",
      "r175",
      "r176",
      "r186",
      "r190",
      "r196",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r207",
      "r208",
      "r209"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segments and Geographic Information"
       }
      }
     },
     "localname": "SegmentReportingDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Segment Reporting Information [Line Items]",
        "terseLabel": "Segment Reporting Information [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SellingGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc.",
        "label": "Selling, General and Administrative Expense",
        "negatedLabel": "Selling, general, and administrative expenses",
        "totalLabel": "Selling, General and Administrative Expense, Total"
       }
      }
     },
     "localname": "SellingGeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SeniorSubordinatedNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior subordinated note is a bond that takes priority over other debt securities sold by the issuer. In the event the issuer goes bankrupt, senior subordinated debt holders receive priority for [must receive] repayment [prior] relative to junior and unsecured (general) creditors. However senior subordinated notes are junior to Senior Notes and Senior bond holders.",
        "label": "Senior Subordinated Notes [Member]",
        "terseLabel": "Senior Subordinated Notes"
       }
      }
     },
     "localname": "SeniorSubordinatedNotesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Noncash Expense",
        "terseLabel": "Share-based compensation",
        "totalLabel": "Share-based Payment Arrangement, Noncash Expense, Total"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r415"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Fair Value per Unit at Grant Date, Shares granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r412",
      "r413"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails": {
       "order": 0.0,
       "parentTag": "amrk_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndNonvestedNumber",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Awards Outstanding, Outstanding ending balance",
        "periodStartLabel": "Awards Outstanding, Outstanding beginning balance",
        "terseLabel": "Awards outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r412",
      "r413"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Weighted Average Fair Value per Unit at Grant Date, Outstanding ending balance",
        "periodStartLabel": "Weighted Average Fair Value per Unit at Grant Date, Outstanding beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
        "terseLabel": "Weighted Average Fair Value per Unit at Grant Date"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate": {
     "auth_ref": [
      "r398"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the equity-based award expires, in YYYY-MM-DD format.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Date",
        "terseLabel": "New awards grants, expiration date"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "auth_ref": [
      "r429"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Dividend Rate",
        "terseLabel": "Dividend yield rate annual"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r430"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "terseLabel": "Risk-free interest rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate": {
     "auth_ref": [
      "r428"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rate of weighted-average expected volatility for award under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Weighted Average Volatility Rate",
        "terseLabel": "Average volatility"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted": {
     "auth_ref": [
      "r410"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net number of non-option equity instruments granted to participants.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Non-Option Equity Instruments, Granted",
        "terseLabel": "Awards Outstanding, Shares granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Non-Option Equity Instruments, Outstanding [Roll Forward]",
        "terseLabel": "Awards Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant",
        "terseLabel": "Shares granted under the plan (shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "auth_ref": [
      "r404"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Number",
        "terseLabel": "Options, Exercisable at June 30, 2022",
        "verboseLabel": "Stock options exercisable, Number of Shares Exercisable (shares)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r404"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
        "terseLabel": "Stock options exercisable, Weighted Average Exercise Price (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r436"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value, Balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r402",
      "r403"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Options Outstanding, ending balance",
        "periodStartLabel": "Options Outstanding, beginning balance",
        "terseLabel": "Stock options outstanding, Number of Shares Outstanding (shares)",
        "verboseLabel": "Stock options outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding [Roll Forward]",
        "terseLabel": "Options"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r402",
      "r403"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Weighted Average Exercise Price Per Share, Outstanding ending balance",
        "periodStartLabel": "Weighted Average Exercise Price Per Share, Outstanding beginning balance",
        "terseLabel": "Stock options outstanding, Weighted Average Exercise Price (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]",
        "terseLabel": "Weighted Average Exercise Price Per Share"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r423"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest exercisable or convertible options. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Exercisable, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price Per Share, Exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost": {
     "auth_ref": [
      "r434"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An excess of the fair value of the modified award over the fair value of the award immediately before the modification.",
        "label": "Share-Based Payment Arrangement, Plan Modification, Incremental Cost",
        "terseLabel": "Incremental stock-based compensation expense"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Shares Issued in Period",
        "terseLabel": "Stock options issued"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsParentheticalDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r397",
      "r398",
      "r399",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r419",
      "r420",
      "r422",
      "r423",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfRestrictedStockUnitActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r407"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price Per Share, Exercises"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "auth_ref": [
      "r400",
      "r425",
      "r426",
      "r427",
      "r428",
      "r431",
      "r440",
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost.",
        "label": "Share-Based Payment Arrangement [Policy Text Block]",
        "terseLabel": "Share-Based Compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis": {
     "auth_ref": [
      "r424"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by range of option prices pertaining to options granted.",
        "label": "Exercise Price Range [Axis]",
        "terseLabel": "Exercise Price Range"
       }
      }
     },
     "localname": "ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain": {
     "auth_ref": [
      "r432"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Supplementary information on outstanding and exercisable share awards as of the balance sheet date which stratifies outstanding options by ranges of exercise prices.",
        "label": "Exercise Price Range [Domain]",
        "terseLabel": "Exercise Price Range"
       }
      }
     },
     "localname": "ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share-Based Payment Arrangement, Option, Exercise Price Range [Line Items]",
        "terseLabel": "Share-based Payment Arrangement, Option, Exercise Price Range [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit": {
     "auth_ref": [
      "r432"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The floor of a customized range of exercise prices for purposes of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards in the customized range.",
        "label": "Share-Based Payment Arrangement, Option, Exercise Price Range, Lower Range Limit",
        "terseLabel": "Exercise Price Ranges, lower range limit (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit": {
     "auth_ref": [
      "r432"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The ceiling of a customized range of exercise prices for purposes of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards in the customized range.",
        "label": "Share-Based Payment Arrangement, Option, Exercise Price Range, Upper Range Limit",
        "terseLabel": "Exercise Price Ranges, upper range limit (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "auth_ref": [
      "r398"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period",
        "terseLabel": "Expiration period (in years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r427"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term",
        "terseLabel": "Weighted-average expected life in years"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureStockholdersEquityScheduleOfEstimatedGrantDateFairValueOfStockOptionsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r436"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value",
        "terseLabel": "Aggregate Intrinsic Value, Exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Stock options exercisable, Weighted Average Remaining Contractual Life"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of non-vested options outstanding.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Nonvested, Number of Shares",
        "periodEndLabel": "Nonvested Outstanding at June 30, 2022",
        "periodStartLabel": "Nonvested Outstanding at June 30, 2021"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfNonvestedStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Nonvested, Number of Shares [Roll Forward]",
        "terseLabel": "Options"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfSharesRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfNonvestedStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average grant-date fair value of non-vested options outstanding.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Option, Nonvested, Weighted Average Exercise Price",
        "periodEndLabel": "Nonvested Outstanding at June 30, 2022",
        "periodStartLabel": "Nonvested Outstanding at June 30, 2021"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfNonvestedStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
        "terseLabel": "Weighted Average Grant Date Fair Value Per Award"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfNonvestedStockOptionActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r422"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Stock options outstanding, Weighted Average Remaining Contractual Life"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStatusOfStockOptionOutstandingDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options vested.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested, Number of Shares",
        "negatedLabel": "Vested"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfNonvestedStockOptionActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average grant-date fair value of options vested.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested, Weighted Average Grant Date Fair Value",
        "terseLabel": "Vested"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfNonvestedStockOptionActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareholdersEquityAndShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r370",
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity and share-based payment arrangement. Includes, but is not limited to, disclosure of policy and terms of share-based payment arrangement, deferred compensation arrangement, and employee stock purchase plan (ESPP).",
        "label": "Shareholders' Equity and Share-Based Payments [Text Block]",
        "terseLabel": "Stockholders' Equity"
       }
      }
     },
     "localname": "ShareholdersEquityAndShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShippingAndHandlingMember": {
     "auth_ref": [
      "r372"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Packing and transport of product.",
        "label": "Shipping and Handling [Member]",
        "terseLabel": "Shipping and Handling"
       }
      }
     },
     "localname": "ShippingAndHandlingMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r41"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short-Term Debt, Type [Axis]"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short-Term Debt, Type [Domain]"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLiabilityOnBorrowedMetalsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermLeaseCost": {
     "auth_ref": [
      "r626",
      "r634"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of short-term lease cost, excluding expense for lease with term of one month or less.",
        "label": "Short-Term Lease, Cost",
        "terseLabel": "Short term lease costs"
       }
      }
     },
     "localname": "ShortTermLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r108",
      "r126"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SoftwareDevelopmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internally developed software for sale, licensing or long-term internal use.",
        "label": "Software Development [Member]",
        "terseLabel": "Computer Software"
       }
      }
     },
     "localname": "SoftwareDevelopmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StateAndLocalJurisdictionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of a state or local government entitled to levy and collect income taxes from the entity.",
        "label": "State and Local Jurisdiction [Member]",
        "terseLabel": "State and Local Jurisdiction"
       }
      }
     },
     "localname": "StateAndLocalJurisdictionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r5",
      "r173",
      "r177",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r185",
      "r186",
      "r187",
      "r188",
      "r191",
      "r192",
      "r193",
      "r194",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r202",
      "r208",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r290",
      "r293",
      "r294",
      "r751"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business segments.",
        "label": "Segments [Axis]",
        "terseLabel": "Segments"
       }
      }
     },
     "localname": "StatementBusinessSegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSegmentsAndGeographicInformationScheduleOfSegmentReportingInformationBySegmentParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r2",
      "r52",
      "r67",
      "r68",
      "r69",
      "r127",
      "r128",
      "r129",
      "r132",
      "r138",
      "r140",
      "r158",
      "r240",
      "r360",
      "r365",
      "r437",
      "r438",
      "r439",
      "r480",
      "r481",
      "r567",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r638",
      "r759",
      "r760",
      "r761"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Equity Components"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r127",
      "r128",
      "r129",
      "r158",
      "r692"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesAcquisitions": {
     "auth_ref": [
      "r25",
      "r26",
      "r365"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued during the period pursuant to acquisitions.",
        "label": "Stock Issued During Period, Shares, Acquisitions",
        "verboseLabel": "Common stock issued for acquisition of JMB (shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r25",
      "r26",
      "r360",
      "r365"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Issuance of common stock sold in public offering, net of offering costs (shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesPurchaseOfAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued during the period as part of a transaction to acquire assets that do not qualify as a business combination.",
        "label": "Stock Issued During Period, Shares, Purchase of Assets",
        "terseLabel": "Common stock issued for increase in long-term investments (shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesPurchaseOfAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r25",
      "r26",
      "r360",
      "r365",
      "r407"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period",
        "negatedLabel": "Options, Exercises",
        "terseLabel": "Net settlement on issuance of common shares on exercise of shared-based awards (shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfStockOptionActivityDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueAcquisitions": {
     "auth_ref": [
      "r52",
      "r360",
      "r365"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued pursuant to acquisitions during the period.",
        "label": "Stock Issued During Period, Value, Acquisitions",
        "verboseLabel": "Common stock issued for acquisition of JMB"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r25",
      "r26",
      "r360",
      "r365"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Issuance of common stock sold in public offering, net of offering costs"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValuePurchaseOfAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of shares of stock issued during the period as part of a transaction to acquire assets that do not qualify as a business combination.",
        "label": "Stock Issued During Period, Value, Purchase of Assets",
        "terseLabel": "Common stock issued for increase in long-term investments"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValuePurchaseOfAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "auth_ref": [
      "r52",
      "r360",
      "r365"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of stock options.",
        "label": "Stock Issued During Period, Value, Stock Options Exercised",
        "terseLabel": "Net settlement on issuance of common shares on exercise of shared-based awards"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockOptionExercisePriceDecrease": {
     "auth_ref": [
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share decrease in exercise price of option. Excludes change due to standard antidilution provision and option granted under share-based payment arrangement.",
        "label": "Stock Option, Exercise Price, Decrease",
        "terseLabel": "Decrease in exercise price of each stock option"
       }
      }
     },
     "localname": "StockOptionExercisePriceDecrease",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan.",
        "label": "Stock Repurchase Program, Number of Shares Authorized to be Repurchased",
        "terseLabel": "Number of shares authorized to be repurchased (in shares)"
       }
      }
     },
     "localname": "StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r26",
      "r31",
      "r32",
      "r116",
      "r216",
      "r233",
      "r589",
      "r651"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Stockholders' Equity Attributable to Parent, Ending Balance",
        "periodStartLabel": "Stockholders' Equity Attributable to Parent, Beginning Balance",
        "totalLabel": "Total A-Mark Precious Metals, Inc. stockholders' equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r2",
      "r3",
      "r68",
      "r116",
      "r127",
      "r128",
      "r129",
      "r132",
      "r138",
      "r233",
      "r240",
      "r365",
      "r437",
      "r438",
      "r439",
      "r480",
      "r481",
      "r515",
      "r516",
      "r532",
      "r567",
      "r589",
      "r599",
      "r600",
      "r604",
      "r638",
      "r760",
      "r761"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "totalLabel": "Total stockholders\u2019 equity"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquity1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest [Abstract]",
        "terseLabel": "Stockholders' equity:"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteStockSplit": {
     "auth_ref": [
      "r368"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the stock split arrangement. Also provide the retroactive effect given by a stock split that occurs after the balance date but before the release of financial statements.",
        "label": "Stockholders' Equity Note, Stock Split",
        "terseLabel": "Stock split description"
       }
      }
     },
     "localname": "StockholdersEquityNoteStockSplit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteStockSplitConversionRatio1": {
     "auth_ref": [
      "r367"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one.",
        "label": "Stockholders' Equity Note, Stock Split, Conversion Ratio",
        "terseLabel": "Dividends declared, stock split per common share"
       }
      }
     },
     "localname": "StockholdersEquityNoteStockSplitConversionRatio1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquityParenthetical"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r605",
      "r653"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r605",
      "r653"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r605",
      "r653"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r605",
      "r653"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r652",
      "r655"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiaryOfLimitedLiabilityCompanyOrLimitedPartnershipOwnershipInterest": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of units or percentage investment held in the subsidiary by the limited liability company or limited partnership.",
        "label": "Subsidiary of Limited Liability Company or Limited Partnership, Ownership Interest",
        "terseLabel": "Percentage of ownership percentage"
       }
      }
     },
     "localname": "SubsidiaryOfLimitedLiabilityCompanyOrLimitedPartnershipOwnershipInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfChangesInNoncontrollingInterestsParentheticalDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDescriptionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental disclosures of cash flow information:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxesPayableCurrent": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for statutory income, sales, use, payroll, excise, real, property and other taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Taxes Payable, Current",
        "terseLabel": "Income tax payable",
        "totalLabel": "Taxes Payable, Current, Total",
        "verboseLabel": "Income tax payable"
       }
      }
     },
     "localname": "TaxesPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TradeAccountsReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount due from customers or clients for goods or services that have been delivered or sold in the normal course of business.",
        "label": "Trade Accounts Receivable [Member]",
        "terseLabel": "Customer Trade Receivables"
       }
      }
     },
     "localname": "TradeAccountsReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureReceivablesScheduleOfReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TrademarksMember": {
     "auth_ref": [
      "r503"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights acquired through registration of a trademark to gain or protect exclusive use of a business name, symbol or other device or style.",
        "label": "Trademarks [Member]",
        "terseLabel": "Trade Names and Trademarks",
        "verboseLabel": "Trade Names"
       }
      }
     },
     "localname": "TrademarksMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfCarryingValueOfGoodwillAndOtherPurchasedIntangiblesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r347",
      "r359",
      "r562",
      "r656",
      "r657",
      "r658",
      "r659",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r670",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r685",
      "r686",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgingTransactionsScheduleOfMarketValuesOfDenominatedInForeignCurrenciesOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockCommonShares": {
     "auth_ref": [
      "r369"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of previously issued common shares repurchased by the issuing entity and held in treasury.",
        "label": "Treasury Stock, Common, Shares",
        "terseLabel": "Number of shares repurchased (in shares)"
       }
      }
     },
     "localname": "TreasuryStockCommonShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_UnderlyingAssetClassAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by underlying asset class.",
        "label": "Underlying Asset Class [Axis]",
        "terseLabel": "Underlying Asset Class"
       }
      }
     },
     "localname": "UnderlyingAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfClassesForFinancingReceivablesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnderlyingAssetClassDomain": {
     "auth_ref": [
      "r554"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Major types of referenced/underlying asset classes (for example, corporate debt, sovereign debt, and structured finance).",
        "label": "Underlying Asset Class [Domain]",
        "terseLabel": "Underlying Asset Class"
       }
      }
     },
     "localname": "UnderlyingAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfClassesForFinancingReceivablesDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSecuredLoansReceivableScheduleOfFinancingReceivableCreditQualityIndicatorsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivatives": {
     "auth_ref": [
      "r99"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_GainLossOnDerivativeInstrumentsNetPretax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period.",
        "label": "Unrealized Gain (Loss) on Derivatives",
        "terseLabel": "Unrealized (losses) gains on open future commodity and forward contracts and open sale and purchase commitments, net"
       }
      }
     },
     "localname": "UnrealizedGainLossOnDerivatives",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingTransactionsSummaryOfNetGainsLossesOnDerivativeInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefits": {
     "auth_ref": [
      "r447",
      "r458"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrecognized tax benefits.",
        "label": "Unrecognized Tax Benefits",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Accrued tax expense related to unrecognized tax positions"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails",
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions": {
     "auth_ref": [
      "r459"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns.",
        "label": "Unrecognized Tax Benefits, Decrease Resulting from Prior Period Tax Positions",
        "negatedLabel": "Decreases in tax positions for prior year"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions": {
     "auth_ref": [
      "r460"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return.",
        "label": "Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions",
        "terseLabel": "Additions as a results of tax positions taken during current period"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations": {
     "auth_ref": [
      "r461"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations.",
        "label": "Unrecognized Tax Benefits, Reduction Resulting from Lapse of Applicable Statute of Limitations",
        "negatedLabel": "Reductions due to lapse of statute of limitations"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureIncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate": {
     "auth_ref": [
      "r462"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate.",
        "label": "Unrecognized Tax Benefits that Would Impact Effective Tax Rate",
        "terseLabel": "Unrecognized tax benefits that would impact effective tax rate"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r159",
      "r160",
      "r162",
      "r163",
      "r169",
      "r170",
      "r171"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_VariableInterestEntityPrimaryBeneficiaryMember": {
     "auth_ref": [
      "r518",
      "r519",
      "r527",
      "r528",
      "r529"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Variable Interest Entities (VIE) in which the entity has a controlling financial interest (as defined) and of which it is therefore the primary beneficiary. A controlling financial interest is determined based on both: (a) the entity's power to direct activities of the VIE that most significantly impact the VIE's economic performance and (b) the entity's obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE. VIEs of which the entity is the primary beneficiary are included in the consolidated financial statements of the entity.",
        "label": "Variable Interest Entity, Primary Beneficiary [Member]",
        "terseLabel": "Variable Interest Entity, Primary Beneficiary"
       }
      }
     },
     "localname": "VariableInterestEntityPrimaryBeneficiaryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsNotesPayableAdditionalInformationDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVie",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedBalanceSheetsVieParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableLeaseCost": {
     "auth_ref": [
      "r627",
      "r634"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases.",
        "label": "Variable Lease, Cost",
        "terseLabel": "Variable lease costs"
       }
      }
     },
     "localname": "VariableLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/DisclosureLeasesComponentsOfOperatingLeaseExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureFinancingAgreementsLinesOfCreditAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r144",
      "r152"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfSharesUsedInCalculatingBasicAndDilutedEarningsPerCommonSharesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Diluted",
        "totalLabel": "Diluted weighted average shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfSharesUsedInCalculatingBasicAndDilutedEarningsPerCommonSharesDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r143",
      "r152"
     ],
     "calculation": {
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfSharesUsedInCalculatingBasicAndDilutedEarningsPerCommonSharesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Basic",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total",
        "verboseLabel": "Basic weighted average shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.amark.com/20220630/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesReconciliationOfSharesUsedInCalculatingBasicAndDilutedEarningsPerCommonSharesDetails",
      "http://www.amark.com/20220630/taxonomy/role/StatementConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 9
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3095-108585"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3098-108585"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(10))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(n))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(12))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31010-122693"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1707-109256"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1757-109256"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1500-109256"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900757&loc=d3e543-108305"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(15))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(16))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "https://asc.fasb.org/topic&trid=2134479"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8657-108599"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8721-108599"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8721-108599"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "26",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8844-108599"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8981-108599"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "https://asc.fasb.org/topic&trid=2134510"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4647-111522"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953659-111524"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196772"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196816"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196854"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=126960272&loc=d3e32014-111567"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(b)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL120254519-210437"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL120320025-210437"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82921842-210448"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/subtopic&trid=82887181"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/subtopic&trid=82887182"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4492-108314"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4556-108314"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "https://asc.fasb.org/topic&trid=2126998"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "https://asc.fasb.org/topic&trid=2144416"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "https://asc.fasb.org/topic&trid=2155823"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org/topic&trid=2144648"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org/topic&trid=2127136"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org/topic&trid=2208564"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(c))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 4.C)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187143-122770"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.C)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187143-122770"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org/topic&trid=2208762"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4587-114921"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=SL116886442-113899"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4534-113899"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4549-113899"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126962052&loc=d3e4991-113900"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=124429488&loc=d3e326-107755"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20,22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2.Q6)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11149-113907"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11178-113907"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "740",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126970579&loc=d3e23163-113944"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "https://asc.fasb.org/topic&trid=2228938"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(a)",
   "Topic": "720",
   "URI": "https://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(b)",
   "Topic": "720",
   "URI": "https://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "217",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126976462&loc=d3e36027-109320"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "https://asc.fasb.org/topic&trid=2144680"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6909625&loc=d3e227-128457"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.24)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5263-128473"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5333-128473"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5419-128473"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "38",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5504-128473"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126966197&loc=d3e6578-128477"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126966197&loc=d3e6613-128477"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(4)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568447-111683"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568740-111683"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2AA",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "a",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6759068-111685"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5728-111685"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126966630&loc=d3e41228-113958"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579240-113959"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41638-113959"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624181-113959"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5708775-113959"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41641-113959"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41675-113959"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "182",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=127000641&loc=SL5629052-113961"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=124256753&loc=SL5864739-113975"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=121483254&loc=SL120254523-199619"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "https://asc.fasb.org/topic&trid=2229140"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226024-175313"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594809&loc=d3e13220-108610"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13476-108611"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226038-175313"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226049-175313"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "https://asc.fasb.org/topic&trid=2175825"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=28365394&loc=d3e23770-108382"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=68176171&loc=SL68176184-208336"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL120154346-209984"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918631-209977"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918666-209980"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(2)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226003-175313"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/subtopic&trid=77888251"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL122150809-237846"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org/topic&trid=2122745"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org/topic&trid=2122774"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "330",
   "Topic": "912",
   "URI": "https://asc.fasb.org/extlink&oid=6471895&loc=d3e55923-109411"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "350",
   "Subparagraph": "(a)",
   "Topic": "920",
   "URI": "https://asc.fasb.org/extlink&oid=120155617&loc=SL120155628-234783"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "350",
   "Subparagraph": "(b)",
   "Topic": "920",
   "URI": "https://asc.fasb.org/extlink&oid=120155617&loc=SL120155628-234783"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "350",
   "Subparagraph": "(a)",
   "Topic": "920",
   "URI": "https://asc.fasb.org/extlink&oid=120155617&loc=SL120155638-234783"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "https://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "https://asc.fasb.org/topic&trid=2122149"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r714": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(7))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10(3))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(3),(4))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13)(f))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.11)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(12))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126941378&loc=d3e61044-112788"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(5))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.3)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r750": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r751": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r752": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r753": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441"
  },
  "r754": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441"
  },
  "r755": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441"
  },
  "r756": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441"
  },
  "r757": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r758": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r759": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(8))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r760": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r761": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r762": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r763": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195"
  },
  "r765": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.1(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272"
  },
  "r766": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r767": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r768": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r769": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1(e))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r770": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r771": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r772": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r773": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r774": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r775": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r776": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r777": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r778": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r779": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1,2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r780": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r781": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014"
  },
  "r782": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=126942793&loc=d3e3073-115593"
  },
  "r783": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=126942805&loc=d3e3115-115594"
  },
  "r784": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r785": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99779-112916"
  },
  "r786": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99893-112916"
  },
  "r787": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=SL120174063-112916"
  },
  "r788": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r789": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.19)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r790": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r791": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r792": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r793": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r794": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r795": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r796": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r797": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r798": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r799": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2(a),(d))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r800": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r801": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r802": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-23"
  },
  "r803": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r804": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310"
  },
  "r805": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f"
  },
  "r806": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f"
  },
  "r807": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r808": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r809": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r810": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)"
  },
  "r811": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)"
  },
  "r812": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)"
  },
  "r813": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)"
  },
  "r814": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)"
  },
  "r815": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r816": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)"
  },
  "r817": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)"
  },
  "r818": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r819": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(b))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.8)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21D",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=SL94080555-108585"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  }
 },
 "version": "2.1"
}
