<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>19</ContextCount>
  <ElementCount>27</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>9</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>1</UnitCount>
  <MyReports>
    <Report instance="d558720ddef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995100 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="d558720ddef14a.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="DEF 14A" isProxy="true" isUsgaap="true" original="d558720ddef14a.htm">d558720ddef14a.htm</File>
    <File>drq-20231231.xsd</File>
    <File>drq-20231231_def.xml</File>
    <File>drq-20231231_lab.xml</File>
    <File>drq-20231231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>g558720dsp01.jpg</File>
    <File>g558720dsp01a.jpg</File>
    <File>g558720dsp01b.jpg</File>
    <File>g558720dsp01c.jpg</File>
    <File>g558720dsp01d.jpg</File>
    <File>g558720dsp01e.jpg</File>
    <File>g558720dsp01f.jpg</File>
    <File>g558720dsp01g.jpg</File>
    <File>g558720dsp01h.jpg</File>
    <File>g558720dsp01i.jpg</File>
    <File>g558720dsp01j.jpg</File>
    <File>g558720dsp02.jpg</File>
    <File>g558720dsp02a.jpg</File>
    <File>g558720g01a56.jpg</File>
    <File>g558720g01a57.jpg</File>
    <File>g558720g01b56.jpg</File>
    <File>g558720g01g01.jpg</File>
    <File>g558720g01k36.jpg</File>
    <File>g558720g02k36.jpg</File>
    <File>g558720g03a01.jpg</File>
    <File>g558720g03k36.jpg</File>
    <File>g558720g04k36.jpg</File>
    <File>g558720g04r04.jpg</File>
    <File>g558720g05a01.jpg</File>
    <File>g558720g06b88.jpg</File>
    <File>g558720g07a01.jpg</File>
    <File>g558720g09a01.jpg</File>
    <File>g558720g10a01.jpg</File>
    <File>g558720g10s01.jpg</File>
    <File>g558720g10s02.jpg</File>
    <File>g558720g10s03.jpg</File>
    <File>g558720g11a01.jpg</File>
    <File>g558720g12a01.jpg</File>
    <File>g558720g24t18.jpg</File>
    <File>g558720g30x85.jpg</File>
    <File>g558720g33s33.jpg</File>
    <File>g558720g48e93.jpg</File>
    <File>g558720g74z41.jpg</File>
    <File>g558720g87x18.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="4">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="59">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
