I anchored it at the beginning of line of text, and then I used Object > Anchored Object > Options to adjust the position so that it was relative to the text frame (horizontally) and the line (vertically): Like so many things in InDesign, it takes a little while to get the first one correct.