{
 "instance": {
  "d174842d497.htm": {
   "axisCustom": 0,
   "axisStandard": 1,
   "contextCount": 2,
   "dts": {
    "calculationLink": {
     "local": [
      "pstx-20210501_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "pstx-20210501_def.xml"
     ]
    },
    "inline": {
     "local": [
      "d174842d497.htm"
     ]
    },
    "labelLink": {
     "local": [
      "pstx-20210501_lab.xml"
     ],
     "remote": [
      "https://xbrl.sec.gov/rr/2018/rr-doc-2018-01-31.xml",
      "https://xbrl.sec.gov/dei/2020/dei-doc-2020-01-31.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "pstx-20210501_pre.xml"
     ]
    },
    "referenceLink": {
     "remote": [
      "https://xbrl.sec.gov/dei/2020/dei-ref-2020-01-31.xml",
      "https://xbrl.sec.gov/rr/2018/rr-ref-2018-01-31.xml"
     ]
    },
    "schema": {
     "local": [
      "pstx-20210501.xsd"
     ],
     "remote": [
      "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",
      "https://xbrl.sec.gov/rr/2018/rr-2018-01-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2006/xbrldi-2006.xsd",
      "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd",
      "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd"
     ]
    }
   },
   "elementCount": 34,
   "entityCount": 1,
   "hidden": {
    "http://xbrl.sec.gov/dei/2020-01-31": 5,
    "total": 5
   },
   "keyCustom": 0,
   "keyStandard": 102,
   "memberCustom": 1,
   "memberStandard": 0,
   "nsprefix": "pstx",
   "nsuri": "http://www.pioneerinvestments.com/20210501",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "rr:SupplementToProspectusTextBlock",
       "rr:SupplementToProspectusTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "d174842d497.htm",
      "contextRef": "P05_01_2021To05_01_2021",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "false",
     "longName": "0001 - Document - Document and Entity Information  {Elements}",
     "role": "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "d174842d497.htm",
      "contextRef": "P05_01_2021To05_01_2021",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentEffectiveDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "d174842d497.htm",
      "contextRef": "P05_01_2021To05_01_2021",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:SupplementToProspectusTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "false",
     "longName": "0002 - Document - Risk/Return Summary {Unlabeled} - Pioneer Fund",
     "role": "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund",
     "shortName": "Risk/Return Summary- Pioneer Fund",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "d174842d497.htm",
      "contextRef": "P05_01_2021To05_01_2021",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "rr:SupplementToProspectusTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "0003 - Disclosure - Risk/Return Detail Data {Elements} - Pioneer Fund",
     "role": "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
     "shortName": "Risk/Return Detail Data- Pioneer Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "rr:SupplementToProspectusTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "d174842d497.htm",
      "contextRef": "P05_01_2021To05_01_2021_S000003991MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:SupplementToProspectusTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "rr:SupplementToProspectusTextBlock",
       "rr:SupplementToProspectusTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "d174842d497.htm",
      "contextRef": "P05_01_2021To05_01_2021",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "040000 - Disclosure - Risk/Return Detail Data {Elements}",
     "role": "http://xbrl.sec.gov/rr/role/RiskReturnDetailData",
     "shortName": "Risk/Return Detail Data",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "S1": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "d174842d497.htm",
      "contextRef": "P05_01_2021To05_01_2021",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentEffectiveDate",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "true",
     "longName": "000000046 - Disclosure - Document and Entity Information",
     "section": 0,
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "d174842d497.htm",
      "contextRef": "P05_01_2021To05_01_2021",
      "decimals": null,
      "lang": "en-US",
      "name": "dei:DocumentEffectiveDate",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "S2": {
     "firstAnchor": {
      "ancestors": [
       "rr:SupplementToProspectusTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "d174842d497.htm",
      "contextRef": "P05_01_2021To05_01_2021_S000003991MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:SupplementToProspectusTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "RR_Summaries",
     "isDefault": "false",
     "longName": "000000049 - Disclosure - Pioneer Fund",
     "section": 1,
     "shortName": "Pioneer Fund",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "rr:SupplementToProspectusTextBlock",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "d174842d497.htm",
      "contextRef": "P05_01_2021To05_01_2021_S000003991MemberdeiLegalEntityAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "rr:SupplementToProspectusTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 1,
   "tag": {
    "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"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentCreationDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The date the document was made available and submitted, in YYYY-MM-DD format. The date of submission, date of acceptance by the recipient, and the document effective date are all potentially different.",
        "label": "Document Creation Date"
       }
      }
     },
     "localname": "DocumentCreationDate",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of the document as assigned by the filer, corresponding to SEC document naming convention standards.",
        "label": "Prospectus"
       }
      }
     },
     "localname": "DocumentDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_DocumentEffectiveDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The date when a document, upon receipt and acceptance, becomes officially effective, in YYYY-MM-DD format. Usually it is a system-assigned date time value, but it may be declared by the submitter in some cases.",
        "label": "Document Effective Date"
       }
      }
     },
     "localname": "DocumentEffectiveDate",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentInformationDocumentAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Document [Axis]"
       }
      }
     },
     "localname": "DocumentInformationDocumentAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "dateItemType"
    },
    "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"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r5"
     ],
     "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"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "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": "Series"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityInvCompanyType": {
     "auth_ref": [
      "r6"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One of: N-1A (Mutual Fund), N-1 (Open-End Separate Account with No Variable Annuities), N-2 (Closed-End Investment Company), N-3 (Separate Account Registered as Open-End Management Investment Company), N-4 (Variable Annuity UIT Separate Account), N-5 (Small Business Investment Company), N-6 (Variable Life UIT Separate Account), S-1 or S-3 (Face Amount Certificate Company), S-6 (UIT, Non-Insurance Product).",
        "label": "Entity Inv Company Type"
       }
      }
     },
     "localname": "EntityInvCompanyType",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements"
     ],
     "xbrltype": "invCompanyType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r5"
     ],
     "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": "Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Series [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2020-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "stringItemType"
    },
    "pstx_S000003991Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "S000003991 [Member]",
        "terseLabel": "Pioneer Fund"
       }
      }
     },
     "localname": "S000003991Member",
     "nsuri": "http://www.pioneerinvestments.com/20210501",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_AfterTaxesOnDistributionsAndSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Calculate the taxes due on any distributions by the Fund by applying the tax rates specified in Instruction 4 to each component of the distributions on the reinvestment date (e.g., ordinary income, short-term capital gain, long-term capital gain). The taxable amount and tax character of each distribution should be as specified by the Fund on the dividend declaration date, but may be adjusted to reflect subsequent recharacterizations of distributions. Distributions should be adjusted to reflect the federal tax impact the distribution would have on an individual taxpayer on the reinvestment date. For example, assume no taxes are due on the portion of any distribution that would not result in federal income tax on an individual, e.g., tax-exempt interest or non-taxable returns of capital. The effect of applicable tax credits, such as the foreign tax credit, should be taken into account in accordance with federal tax law.",
        "label": "After Taxes on Distributions and Sales"
       }
      }
     },
     "localname": "AfterTaxesOnDistributionsAndSalesMember",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_AfterTaxesOnDistributionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Calculate the taxes due on any distributions by the Fund by applying the tax rates specified in Instruction 4 to each component of the distributions on the reinvestment date (e.g., ordinary income, short-term capital gain, long-term capital gain). The taxable amount and tax character of each distribution should be as specified by the Fund on the dividend declaration date, but may be adjusted to reflect subsequent recharacterizations of distributions. Distributions should be adjusted to reflect the federal tax impact the distribution would have on an individual taxpayer on the reinvestment date. For example, assume no taxes are due on the portion of any distribution that would not result in federal income tax on an individual, e.g., tax-exempt interest or non-taxable returns of capital. The effect of applicable tax credits, such as the foreign tax credit, should be taken into account in accordance with federal tax law.",
        "label": "After Taxes on Distributions"
       }
      }
     },
     "localname": "AfterTaxesOnDistributionsMember",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_AnnualFundOperatingExpensesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to OperatingExpensesData.",
        "label": "Annual Fund Operating Expenses [Table]"
       }
      }
     },
     "localname": "AnnualFundOperatingExpensesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_BarChartTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to BarChartData.",
        "label": "Bar Chart [Table]"
       }
      }
     },
     "localname": "BarChartTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_CoregistrantAxis": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Coregistrant Axis may be used to distinguish disclosures that belong to registrants having different Central Index Key (CIK) values that nevertheless all present in the same filing.",
        "label": "Coregistrant [Axis]"
       }
      }
     },
     "localname": "CoregistrantAxis",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_CoregistrantDomain": {
     "auth_ref": [
      "r2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The default member of the Coregistrant axis. It represents any disclosure that applies to the registrant whose Central Index Key (CIK) is that of the default context.",
        "label": "Coregistrant [Domain]"
       }
      }
     },
     "localname": "CoregistrantDomain",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_ExpenseExampleNoRedemptionTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ExpenseExampleNoRedemption.",
        "label": "Expense Example, No Redemption [Table]"
       }
      }
     },
     "localname": "ExpenseExampleNoRedemptionTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ExpenseExampleWithRedemptionTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ExpenseExample.",
        "label": "Expense Example, With Redemption [Table]"
       }
      }
     },
     "localname": "ExpenseExampleWithRedemptionTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_PerformanceMeasureAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Performance Measure Axis has members that distinguish different returns according to whether they are Before Taxes (the default), After Taxes on Distributions, After Taxes on Distributions and Sales, or are a pre-tax measure of returns based on a broadly available market index.",
        "label": "Performance Measure [Axis]"
       }
      }
     },
     "localname": "PerformanceMeasureAxis",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_PerformanceMeasureDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The default member of the Performance Measure axis. It represents any return that is measured before taxes.",
        "label": "Before Taxes"
       }
      }
     },
     "localname": "PerformanceMeasureDomain",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_PerformanceTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to PerformanceTableData.",
        "label": "Performance [Table]"
       }
      }
     },
     "localname": "PerformanceTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_ProspectusDate": {
     "auth_ref": [
      "r3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The date of the prospectus.",
        "label": "Prospectus Date"
       }
      }
     },
     "localname": "ProspectusDate",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://xbrl.sec.gov/rr/role/RiskReturnDetailData"
     ],
     "xbrltype": "dateItemType"
    },
    "rr_ProspectusLineItems": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prospectus [Line Items]"
       }
      }
     },
     "localname": "ProspectusLineItems",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ProspectusShareClassAxis": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prospectus Share Class Axis.",
        "label": "Share Class [Axis]"
       }
      }
     },
     "localname": "ProspectusShareClassAxis",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ProspectusTable": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prospectus Table.",
        "label": "Prospectus:"
       }
      }
     },
     "localname": "ProspectusTable",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "xbrltype": "stringItemType"
    },
    "rr_RiskReturnAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk/Return:"
       }
      }
     },
     "localname": "RiskReturnAbstract",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_ShareClassDomain": {
     "auth_ref": [
      "r2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All members of this domain must be elements with name starting with \"C\" and consisting of a 9-digit Fund share class CIK.",
        "label": "Share Classes"
       }
      }
     },
     "localname": "ShareClassDomain",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/DocumentAndEntityInformationElements",
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "domainItemType"
    },
    "rr_ShareholderFeesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contains a command for the SEC Viewer for the role corresponding to ShareholderFeesData.",
        "label": "Shareholder Fees [Table]"
       }
      }
     },
     "localname": "ShareholderFeesTableTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_StrategyHeading": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries.",
        "label": "Strategy [Heading]"
       }
      }
     },
     "localname": "StrategyHeading",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund"
     ],
     "xbrltype": "stringItemType"
    },
    "rr_StrategyNarrativeTextBlock": {
     "auth_ref": [
      "r4"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal investment strategies of the Fund. Summarize how the Fund intends to achieve its investment objectives by identifying the Fund's principal investment strategies (including the type or types of securities in which the Fund invests or will invest principally) and any policy to concentrate in securities of issuers in a particular industry or group of industries.",
        "label": "Strategy Narrative [Text Block]"
       }
      }
     },
     "localname": "StrategyNarrativeTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rr_SupplementToProspectusTextBlock": {
     "auth_ref": [
      "r0"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element contains the text of a prospectus supplement (submission type 497) not already contained in an element containing amended text or other data from a previous submission.",
        "label": "Supplement to Prospectus [Text Block]"
       }
      }
     },
     "localname": "SupplementToProspectusTextBlock",
     "nsuri": "http://xbrl.sec.gov/rr/2018-01-31",
     "presentation": [
      "http://www.pioneerinvestments.com/role/RiskReturnDetailDataElementsPioneerFund",
      "http://www.pioneerinvestments.com/role/RiskReturnSummaryUnlabeledPioneerFund"
     ],
     "xbrltype": "textBlockItemType"
    }
   },
   "unitCount": 0
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Form",
   "Number": "N-1A",
   "Publisher": "SEC"
  },
  "r1": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Publisher": "SEC"
  },
  "r2": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "1",
   "Publisher": "SEC",
   "Section": "1",
   "Subsection": "a"
  },
  "r3": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Paragraph": "3",
   "Publisher": "SEC",
   "Section": "1",
   "Subsection": "a"
  },
  "r4": {
   "Chapter": "A",
   "Name": "Form",
   "Number": "N-1A",
   "Publisher": "SEC",
   "Section": "4",
   "Subsection": "a"
  },
  "r5": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r6": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "313"
  }
 },
 "version": "2.1"
}
