Google's John Mueller said that if you can, it is best to use the rel=sponsored link attribute on your affiliate links. You can still use nofollow or combine them if you want, but it would make things clearer for Google if you uses rel=sponsored....
-
Google: Use rel=sponsored For Affiliate Links If Possible
seroundtable.com