Macbook Nano will probably be supported with security updates for a lot longer.

Apple try to provide updates for a certain number of years after the model was originally released. The M1 Air was released many years ago now.

Actually Apple tries to provide updates for a certain number of years after final sale. It is Google that goes by initial release.