You are on the right track with a subquery condition. You need to filter Accounts where the AccountID is NOT IN the results of the subquery returned from the AccountTeamMember object.
I’ve done a similar thing with opportunities and line items in the example page attached below.