Donald Trump’s assaults on US science and universities in many ways mirror those previously enacted in Brazil by Jair Bolsonaro. Two years on from the latter’s election defeat, Patrick Jack assesses what the current state of Brazilian science says about how US institutions might fare post-Trump