A 30-year-old man presents to a sexual health clinic with a painless genital ulcer for 2 weeks and generalised non-tender lymphadenopathy. He reports unprotected intercourse with multiple partners. What is the most appropriate initial diagnostic test for suspected primary syphilis?