XML 78 R44.htm IDEA: XBRL DOCUMENT
v3.22.1

Nature of Operations (Details) | Dec. 31, 2021
--- | ---
Continuing and discontinued operations [Abstract] |
Option to acquire business interest | 100.00%

X
- Definition Continuing and discontinued operations [Abstract] + References No definition available. + Details
Name: | agi_ContinuinganddiscontinuedoperationsAbstract
Namespace Prefix: | agi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of Option to Acquire Business Interest + References No definition available. + Details
Name: | agi_PercentageofOptiontoAcquireBusinessInterest
Namespace Prefix: | agi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant