<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>104</ContextCount>
  <ElementCount>55</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>52</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="d877975dncsr.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995470 - Disclosure - N-2</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cef/role/N2</Role>
      <ShortName>N-2</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>ck0001195738-20240831.xsd</File>
    <File>ck0001195738-20240831_def.xml</File>
    <File>ck0001195738-20240831_lab.xml</File>
    <File>ck0001195738-20240831_pre.xml</File>
    <File doctype="N-CSR" isDefinitelyNotFs="true" isNcsr="true" isUsgaap="true" original="d877975dncsr.htm">d877975dncsr.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>g877975g1dsp001a.jpg</File>
    <File>g877975g1dsp01.jpg</File>
    <File>g877975g1g16g01.jpg</File>
    <File>g877975g1g16g02.jpg</File>
    <File>g877975g1g18g01.jpg</File>
    <File>g877975g1g18g02.jpg</File>
    <File>g877975g1g20g01.jpg</File>
    <File>g877975g1g20g02.jpg</File>
    <File>g877975g1g22g01.jpg</File>
    <File>g877975g1g22g02.jpg</File>
    <File>g877975g1g24g01.jpg</File>
    <File>g877975g1g24g02.jpg</File>
    <File>g877975g1g26g01.jpg</File>
    <File>g877975g1g26g02.jpg</File>
    <File>g877975g1g28g01.jpg</File>
    <File>g877975g1g28g02.jpg</File>
    <File>g877975g1g30g01.jpg</File>
    <File>g877975g1g30g02.jpg</File>
    <File>g877975g1g32g01.jpg</File>
    <File>g877975g1g32g02.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="13">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="202">http://xbrl.sec.gov/cef/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
