After logging in, the screen is black with only the mouse cursor visible

This issue appears to be similar to the one being discussed in this post.

I successfully reproduced the issue in VirtualBox and took a snapshot while it occurred.

The following command worked:

sudo apt purge fonts-katex

The solution from the linked post also worked for me.
Specifically, the following steps:

(Ctrl+Alt+F3 to open a tty)
(enter username)
(enter password)
fc-cache -r
sudo reboot

I think that the second approach is the smarter approach.