<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.10.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>104</ContextCount>
  <ElementCount>175</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>39</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/StatementCONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/StatementCONDENSEDCONSOLIDATEDBALANCESHEETSParentheticalUnaudited</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - CONDENSED CONSOLIDATED STATEMENT OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/StatementCONDENSEDCONSOLIDATEDSTATEMENTOFCHANGESINSTOCKHOLDERSEQUITYUNAUDITED</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENT OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Disclosure - The Company, Description of Business, and Liquidity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureTheCompanyDescriptionOfBusinessAndLiquidity</Role>
      <ShortName>The Company, Description of Business, and Liquidity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Property and Equipment, Net, and Other Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosurePropertyAndEquipmentNetAndOtherAssets</Role>
      <ShortName>Property and Equipment, Net, and Other Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Accounts Payable and Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureAccountsPayableAndAccruedLiabilities</Role>
      <ShortName>Accounts Payable and Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Revolving Credit Facility</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureRevolvingCreditFacility</Role>
      <ShortName>Revolving Credit Facility</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Capital Lease Obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureCapitalLeaseObligations</Role>
      <ShortName>Capital Lease Obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.qrhc.com/20180930/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20180930/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Property and Equipment, Net, and Other Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosurePropertyAndEquipmentNetAndOtherAssetsTables</Role>
      <ShortName>Property and Equipment, Net, and Other Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20180930/taxonomy/role/DisclosurePropertyAndEquipmentNetAndOtherAssets</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20180930/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Accounts Payable and Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureAccountsPayableAndAccruedLiabilitiesTables</Role>
      <ShortName>Accounts Payable and Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20180930/taxonomy/role/DisclosureAccountsPayableAndAccruedLiabilities</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Capital Lease Obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureCapitalLeaseObligationsTables</Role>
      <ShortName>Capital Lease Obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20180930/taxonomy/role/DisclosureCapitalLeaseObligations</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20180930/taxonomy/role/DisclosureRevenue</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureStockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20180930/taxonomy/role/DisclosureStockholdersEquity</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - The Company, Description of Business, and Liquidity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureTheCompanyDescriptionOfBusinessAndLiquidityAdditionalInformationDetail</Role>
      <ShortName>The Company, Description of Business, and Liquidity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Summary of Significant Accounting Policies - Schedule of Anti-dilutive Securities Excluded from Diluted Loss Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfAntiDilutiveSecuritiesExcludedFromDilutedLossPerShareDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Anti-dilutive Securities Excluded from Diluted Loss Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Property and Equipment, Net, and Other Assets - Components of Property and Equipment, Net, and Other Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosurePropertyAndEquipmentNetAndOtherAssetsComponentsOfPropertyAndEquipmentNetAndOtherAssetsDetail</Role>
      <ShortName>Property and Equipment, Net, and Other Assets - Components of Property and Equipment, Net, and Other Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Property and Equipment, Net, and Other Assets - Components of Property and Equipment, Net, and Other Assets ( Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosurePropertyAndEquipmentNetAndOtherAssetsComponentsOfPropertyAndEquipmentNetAndOtherAssetsParentheticalDetail</Role>
      <ShortName>Property and Equipment, Net, and Other Assets - Components of Property and Equipment, Net, and Other Assets ( Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Property and Equipment, Net, and Other Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosurePropertyAndEquipmentNetAndOtherAssetsAdditionalInformationDetail</Role>
      <ShortName>Property and Equipment, Net, and Other Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Finite-Lived Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfFiniteLivedIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Finite-Lived Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Changes in Goodwill (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfChangesInGoodwillDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Changes in Goodwill (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Accounts Payable and Accrued Liabilities - Components of Accounts Payable and Accrued Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureAccountsPayableAndAccruedLiabilitiesComponentsOfAccountsPayableAndAccruedLiabilitiesDetail</Role>
      <ShortName>Accounts Payable and Accrued Liabilities - Components of Accounts Payable and Accrued Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Revolving Credit Facility - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureRevolvingCreditFacilityAdditionalInformationDetail</Role>
      <ShortName>Revolving Credit Facility - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Capital Lease Obligations - Summary of Capital Lease Obligations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureCapitalLeaseObligationsSummaryOfCapitalLeaseObligationsDetail</Role>
      <ShortName>Capital Lease Obligations - Summary of Capital Lease Obligations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Capital Lease Obligations - Summary of Capital Lease Obligations (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureCapitalLeaseObligationsSummaryOfCapitalLeaseObligationsParentheticalDetail</Role>
      <ShortName>Capital Lease Obligations - Summary of Capital Lease Obligations (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Capital Lease Obligations - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureCapitalLeaseObligationsAdditionalInformationDetail</Role>
      <ShortName>Capital Lease Obligations - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Revenue - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureRevenueAdditionalInformationDetail</Role>
      <ShortName>Revenue - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Revenue - Summary of Revenue Disaggregated by Source (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureRevenueSummaryOfRevenueDisaggregatedBySourceDetail</Role>
      <ShortName>Revenue - Summary of Revenue Disaggregated by Source (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Stockholders' Equity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Stockholders' Equity - Additional Information - Warrants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationWarrantsDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Warrants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Stockholders' Equity - Summary of Warrants Issued and Outstanding (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureStockholdersEquitySummaryOfWarrantsIssuedAndOutstandingDetail</Role>
      <ShortName>Stockholders' Equity - Summary of Warrants Issued and Outstanding (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Stockholders' Equity - Additional Information - Stock Options (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationStockOptionsDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Stock Options (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="qrhc-20180930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Stockholders' Equity - Summary of Stock Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20180930/taxonomy/role/DisclosureStockholdersEquitySummaryOfStockOptionActivityDetail</Role>
      <ShortName>Stockholders' Equity - Summary of Stock Option Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>qrhc-20180930.xml</File>
    <File>qrhc-20180930.xsd</File>
    <File>qrhc-20180930_cal.xml</File>
    <File>qrhc-20180930_def.xml</File>
    <File>qrhc-20180930_lab.xml</File>
    <File>qrhc-20180930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
