<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.3.1.900</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>157</ContextCount>
  <ElementCount>327</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>66</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="qrhc-20151231.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/20151231/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/StatementCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/StatementCONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Disclosure - The Company, Description of Business, and Future Liquidity Needs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureTheCompanyDescriptionOfBusinessAndFutureLiquidityNeeds</Role>
      <ShortName>The Company, Description of Business, and Future Liquidity Needs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="qrhc-20151231.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/20151231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="qrhc-20151231.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/20151231/taxonomy/role/DisclosurePropertyAndEquipmentNetAndOtherAssets</Role>
      <ShortName>Property and Equipment, Net, and Other Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="qrhc-20151231.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/20151231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Line of Credit</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureLineOfCredit</Role>
      <ShortName>Line of Credit</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Long-term Debt and Capital Lease Obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureLongTermDebtAndCapitalLeaseObligations</Role>
      <ShortName>Long-term Debt and Capital Lease Obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Net Loss per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureNetLossPerShare</Role>
      <ShortName>Net Loss per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Property and Equipment, Net, and Other Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosurePropertyAndEquipmentNetAndOtherAssetsTables</Role>
      <ShortName>Property and Equipment, Net, and Other Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosurePropertyAndEquipmentNetAndOtherAssets</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Long-term Debt and Capital Lease Obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureLongTermDebtAndCapitalLeaseObligationsTables</Role>
      <ShortName>Long-term Debt and Capital Lease Obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosureLongTermDebtAndCapitalLeaseObligations</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosureIncomeTaxes</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosureFairValueOfFinancialInstruments</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquity</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Net Loss per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureNetLossPerShareTables</Role>
      <ShortName>Net Loss per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosureNetLossPerShare</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSupplementalCashFlowInformation</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - The Company, Description of Business, and Liquidity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureTheCompanyDescriptionOfBusinessAndLiquidityAdditionalInformationDetail</Role>
      <ShortName>The Company, Description of Business, and Liquidity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Summary of Significant Accounting Policies - Changes in Allowance for Doubtful Accounts (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesChangesInAllowanceForDoubtfulAccountsDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Changes in Allowance for Doubtful Accounts (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Summary of Significant Accounting Policies - Schedule of Property and Equipment Useful Lives (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfPropertyAndEquipmentUsefulLivesDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Property and Equipment Useful Lives (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Summary of Significant Accounting Policies - Schedule of Number of Customers that Accounted for More than Ten Percentage of Annual Sales and Receivable Balances (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfNumberOfCustomersThatAccountedForMoreThanTenPercentageOfAnnualSalesAndReceivableBalancesDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Number of Customers that Accounted for More than Ten Percentage of Annual Sales and Receivable Balances (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - 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/20151231/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>36</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Property and Equipment, Net, and Other Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosurePropertyAndEquipmentNetAndOtherAssetsAdditionalInformationDetail</Role>
      <ShortName>Property and Equipment, Net, and Other Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Finite-Lived Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfFiniteLivedIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Finite-Lived Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Indefinite-Lived Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfIndefiniteLivedIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Indefinite-Lived Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Line of Credit - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureLineOfCreditAdditionalInformationDetail</Role>
      <ShortName>Line of Credit - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Long-term Debt and Capital Lease Obligations - Summary of Capital Lease Obligations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureLongTermDebtAndCapitalLeaseObligationsSummaryOfCapitalLeaseObligationsDetail</Role>
      <ShortName>Long-term Debt and Capital Lease Obligations - Summary of Capital Lease Obligations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Long-term Debt and Capital Lease Obligations - Summary of Capital Lease Obligations (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureLongTermDebtAndCapitalLeaseObligationsSummaryOfCapitalLeaseObligationsParentheticalDetail</Role>
      <ShortName>Long-term Debt and Capital Lease Obligations - Summary of Capital Lease Obligations (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Long-term Debt and Capital Lease Obligations - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureLongTermDebtAndCapitalLeaseObligationsAdditionalInformationDetail</Role>
      <ShortName>Long-term Debt and Capital Lease Obligations - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Long-term Debt and Capital Lease Obligations - Summary of Future Maturities of Capital Lease Obligations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureLongTermDebtAndCapitalLeaseObligationsSummaryOfFutureMaturitiesOfCapitalLeaseObligationsDetail</Role>
      <ShortName>Long-term Debt and Capital Lease Obligations - Summary of Future Maturities of Capital Lease Obligations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Income Taxes - Components of Net Deferred Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureIncomeTaxesComponentsOfNetDeferredTaxesDetail</Role>
      <ShortName>Income Taxes - Components of Net Deferred Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureIncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetail</Role>
      <ShortName>Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Fair Value of Financial Instruments - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsAdditionalInformationDetail</Role>
      <ShortName>Fair Value of Financial Instruments - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Fair Value of Financial Instruments - Summary of Company's Warrant Liability (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfCompanySWarrantLiabilityDetail</Role>
      <ShortName>Fair Value of Financial Instruments - Summary of Company's Warrant Liability (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Commitments and Contingencies - Schedule of Future Minimum Rental Payments for Operating Leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureCommitmentsAndContingenciesScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesDetail</Role>
      <ShortName>Commitments and Contingencies - Schedule of Future Minimum Rental Payments for Operating Leases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Stockholders' Equity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Stockholders' Equity - Schedule of Common Stock Shares Issued (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityScheduleOfCommonStockSharesIssuedDetail</Role>
      <ShortName>Stockholders' Equity - Schedule of Common Stock Shares Issued (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Stockholders' Equity - Additional Information - Shares Issued for Vested Restricted Stock Units (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationSharesIssuedForVestedRestrictedStockUnitsDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Shares Issued for Vested Restricted Stock Units (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Stockholders' Equity - Additional Information - Shares Issued for Employee Stock Purchase Plan Options (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationSharesIssuedForEmployeeStockPurchasePlanOptionsDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Shares Issued for Employee Stock Purchase Plan Options (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Stockholders' Equity - Additional Information - Sale of Common Stock and Warrants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationSaleOfCommonStockAndWarrantsDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Sale of Common Stock and Warrants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Stockholders' Equity - Additional Information - Note and Interest Conversions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationNoteAndInterestConversionsDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Note and Interest Conversions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Stockholders' Equity - Additional Information - Warrants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationWarrantsDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Warrants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Stockholders' Equity - Additional Information - Warrants Issued in Conjunction with Sale of Common Stock (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationWarrantsIssuedInConjunctionWithSaleOfCommonStockDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Warrants Issued in Conjunction with Sale of Common Stock (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Stockholders' Equity - Additional Information - Warrants for Services (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationWarrantsForServicesDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Warrants for Services (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Stockholders' Equity - Summary of Warrants Issued and Outstanding (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquitySummaryOfWarrantsIssuedAndOutstandingDetail</Role>
      <ShortName>Stockholders' Equity - Summary of Warrants Issued and Outstanding (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Stockholders' Equity - Additional Information - Restricted Stock Units (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationRestrictedStockUnitsDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Restricted Stock Units (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Stockholders' Equity - Summary of Stock Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquitySummaryOfStockOptionActivityDetail</Role>
      <ShortName>Stockholders' Equity - Summary of Stock Option Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Stockholders' Equity - Additional Information - Stock Option (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationStockOptionDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information - Stock Option (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Stockholders' Equity - Summary of Stock Option Outstanding (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquitySummaryOfStockOptionOutstandingDetail</Role>
      <ShortName>Stockholders' Equity - Summary of Stock Option Outstanding (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Stockholders' Equity - Schedule of Weighted-Average Estimated Value of Employee Stock Options Granted (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureStockholdersEquityScheduleOfWeightedAverageEstimatedValueOfEmployeeStockOptionsGrantedDetail</Role>
      <ShortName>Stockholders' Equity - Schedule of Weighted-Average Estimated Value of Employee Stock Options Granted (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Net Loss per Share - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureNetLossPerShareAdditionalInformationDetail</Role>
      <ShortName>Net Loss per Share - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Net Loss per Share - Schedule of Anti-dilutive Securities Excluded from Diluted Loss Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureNetLossPerShareScheduleOfAntiDilutiveSecuritiesExcludedFromDilutedLossPerShareDetail</Role>
      <ShortName>Net Loss per Share - Schedule of Anti-dilutive Securities Excluded from Diluted Loss Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Supplemental Cash Flow Information - Summary of Supplemental Information to Consolidated Statements of Cash Flows (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureSupplementalCashFlowInformationSummaryOfSupplementalInformationToConsolidatedStatementsOfCashFlowsDetail</Role>
      <ShortName>Supplemental Cash Flow Information - Summary of Supplemental Information to Consolidated Statements of Cash Flows (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="qrhc-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Related Party Transactions - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.qrhc.com/20151231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetail</Role>
      <ShortName>Related Party Transactions - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</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-20151231.xml</File>
    <File>qrhc-20151231.xsd</File>
    <File>qrhc-20151231_cal.xml</File>
    <File>qrhc-20151231_def.xml</File>
    <File>qrhc-20151231_lab.xml</File>
    <File>qrhc-20151231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
