The company won praise for sticking to its principles. But the cost of serving its users is straining its business and reputation.