Separate Posts and Custom Post Type in Custom Taxonomy archive template

Going from memory this should work for posts

<?php $query1 = new WP_Query( array( "post_type" => "post", "tag" =>
$term->slug) ); ?>

The first query will only return posts that have been tagged [TEAMNAME] (as far as I can remember custom taxonomies can show up as tags on a post). This should work for teams

<?php $query2 = new WP_Query( array( "post_type" => "match", "team" => $term->slug) ); ?>

The second query will only returns matches with the custom taxonomy of [TEAMNAME]

tech