What is a joint mortgage, and how does it work?

What is a joint mortgage, and how does it work?