Purchasing Affinity designer on mac
Mac App Store apps can be used on any Mac signed in with your Apple ID.

Can I use apps from the Mac App Store on more than one computer?
Apps from the Mac App Store may be used on any Macs that you own or control for your personal use.

Mac App Store: Frequently Asked Questions (FAQ)