XML 102 R91.htm IDEA: XBRL DOCUMENT
v3.22.2

Earnings (Loss) Per Share - Summary of Computation Earnings (Loss) Per Common Share Using Two Class Method (Parenthetical) (Detail) - $ / shares | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Dec. 31, 2021
Series A Preferred Stock [Member] |  |  |  |  |
Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items] |  |  |  |  |
Percentage of annual dividend rate |  | 20.00% |  | 20.00% |
Annual dividend shares preferred stock |  | 141,194,638 |  | 141,194,638 |
Dividend price per share |  |  |  |  | $ 17.8829
Series A Preferred Stock [Member] |  |  |  |  |
Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items] |  |  |  |  |
Antidilutive Securities Excluded from Calculation of Diluted Earnings Per Share | 4,000,000 | 4,000,000 | 4,000,000 | 4,000,000 |

X
- Definition Annual dividend shares preferred stock. + References No definition available. + Details
Name: | apg_AnnualDividendSharesPreferredStock
Namespace Prefix: | apg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Dividend price per share. + References No definition available. + Details
Name: | apg_DividendPricePerShare
Namespace Prefix: | apg_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EarningsPerShareBasicLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage rate used to calculate dividend payments on preferred stock. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644 + Details
Name: | us-gaap_PreferredStockDividendRatePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_SeriesAPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=apg_SeriesAPreferredSharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |