Analysis of a one-dimensional prescribed mean curvature equation with singular nonlinearity