XML 54 R43.htm IDEA: XBRL DOCUMENT
v3.22.2

Nature of Business - Additional Information (Detail) | Jun. 30, 2022 Location
--- | ---
Organization, Consolidation and Presentation of Financial Statements [Abstract] |
Number of locations | 500

X
- Definition Number of locations in which entity operates. + References No definition available. + Details
Name: | apg_NumberOfLocationsInWhichEntityOperates
Namespace Prefix: | apg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration