It appears you have a MBAir 13" 2015 or 2017 model.....they are almost identical.
Try booting into Internet Recovery Mode using Command + Option + R to attempt to access the online macOS 12.x Monterey installer. Once booted into Internet Recovery Mode you will need to use Disk Utility to erase the whole physical SSD as GUID partition and APFS (top option)....making sure to name the volume "Macintosh HD" which is the volume name Apple used from the factory. Within Disk Utility you may need to click "View" and select "Show All Devices" before the physical SSD appears on the left pane of Disk Utility.
Unfortunately some Macs may only boot into the older online installer for the OS which originally shipped with the Mac from the factory regardless of the keys used to enter Internet Recovery Mode. Unfortunately it may no longer be possible to install the older macOS through recovery mode since there have been a lot of reports of the older macOS servers no longer being available. If you do boot into the older online installer for macOS 10.10 Yosemite or macOS 10.12 Sierra, then you will need to erase the drive differently.
For macOS 10.12 Sierra, you will need to erase the physical SSD as GUID partition and MacOS Extended (Journaled).
For macOS 10.10 Yosemite, you will need to instead partition & format the physical SSD using the instructions in the following article:
https://eshop.macsales.com/tech_center/formatting/Mac_Formatting_6-10_R3.pdf
Once the physical SSD has been properly prepared, then Quit Disk Utility and select the "Install macOS" item.
FYI, in the future, you should probably consider how you would restore macOS once you are finished with the third party OS while you can still boot macOS on the computer as it would allow you the option of creating a bootable macOS USB installer. Apple is making it more difficult for users to reinstall macOS on these older Macs.