Can't use JetBrains Mono font in RStudio

I recently installed the JetBrain Mono font in Ubuntu but it doesn't show up when I want to edit the font in the RStudio global settings. It detects other monospace fonts that I have installed but not that one.