The dollar strengthened after its best month since March 2020.