Why not use your iMac 21.5" 2012 directly as a macOS Workstation? If you know how, you can still install the latest Apple operating system on this device for maximum security. The device runs perfectly with macOS 12.6.1 "Monterey" or macOS 13.0.1 "Ventura". I can refloat the device for further use with an up-to-date and secure operating system and, if necessary, upgrade it for a still impressive performance.
Mac & Windows Support, Fr. 140.-/h, 079 333 68 27
Translated with
https://www.deepl.com/Translator (free version)